Question: Bounce and Move
![Appster](http://forums.gamesalad.com/applications/dashboard/design/images/defaulticon.png)
Hey experts, may I know how to:
1) Make an actor to bounce on the same spot while hitting another actor? I set gravity 100. Now everytime the actor 1 drop onto Actor 2, it always move left slightly and start to bounce off.
2) How to make the actor to "move towards" the direction of my mouse or touch? I have tried the combination of Mouse Press or Position but can't seem to work
Appreciate your advice on this.
1) Make an actor to bounce on the same spot while hitting another actor? I set gravity 100. Now everytime the actor 1 drop onto Actor 2, it always move left slightly and start to bounce off.
2) How to make the actor to "move towards" the direction of my mouse or touch? I have tried the combination of Mouse Press or Position but can't seem to work
Appreciate your advice on this.
Comments
If you want the ball to stop moving, there are many ways to skin that cat.
Try creating a boolean game.attribute
First off. i would hesitate using gravity. instead use a downward acceleration behavior that only works is STOP is false
Create new rule:
When actor is pressed
IF game.STOP is false
Change attribute game.STOP to true
Otherwise
change attribute game.STOP to false