How to make actor respond only after collision is detected?
GSlostsoul
Member Posts: 22
Hi,
Can't seem to get the commands right. I'm trying to make my actor move once only according to user's swipe after it collide or lands on the ground. Currently, my actor can be moved many times before it lands on the ground. Pls help.......
Thanks.
Comments
I tried creating a boolean attribute and add to the controls but still could not figure it out....
Yes, a boolean would be the way to go. When the actor collides with the ground, change a boolean value to true. In the actor's swipe rule, add the condition that the boolean is true and make sure it is set to ALL conditions rather than ANY conditions.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
Thank U. I got it.