How to detect if an actor is not touching anything
OscarsCoding
Member Posts: 92
Hey! I was wondering if someone knows how to detect if an actor is not touching anything. I need this for my game so when I jump, or falling, then the actor spins.
So if you know how to do this, please tell me how to do this so I can improve myself.
Thanks!
Comments
You can make a rule saying "If actor touches or collides with name actor x", and put your logic in the "otherwise". It'll then only run when the actor isn't colliding with actor x. If you want to monitor for ALL actors, you can give all the other actors a tag, and then do "If actor touches or collides with actor with tag x".
Contact me for custom work - Expert GS developer with 15 years of GS experience - Skype: armelline.support