Stop moving after jump
Guys i have the following global attributes in my game:
btnjump
btnright
btnleft
I have the following rule, in my main character:
If btnjump is true, btnright is true and btnleft is false:
Change: linear.velocity.y to 400 and linear.velocity.x to 300
The actor succesfully jump to the right, the problem is, after he jumps, the linear.velocity.x doesnot stop, how could i fix that?
btnjump
btnright
btnleft
I have the following rule, in my main character:
If btnjump is true, btnright is true and btnleft is false:
Change: linear.velocity.y to 400 and linear.velocity.x to 300
The actor succesfully jump to the right, the problem is, after he jumps, the linear.velocity.x doesnot stop, how could i fix that?
Comments
For 0.5 sec /
Linear.velocity.x to 300
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page