How to stop facing the initial direction after movement?
LordTarantor
Member, PRO Posts: 890
Hello everybody:
I am using the CodeMonkey Joystick demo and it works great but when I release the stick, the player goes back to face the same direction it started. How can I make the player keep looking the same way it was looking when the stick was released.
Thanks
I am using the CodeMonkey Joystick demo and it works great but when I release the stick, the player goes back to face the same direction it started. How can I make the player keep looking the same way it was looking when the stick was released.
Thanks
Comments
When Attribute
StickGrabbed = true
---Constrain attribute "self.rotation" to "game.Angle"
otherwise
---Change attribute "self.rotation" to "game.Angle"
---Change attribute "self.Motion.Angular Velocity" to "0"
Another method is to delete some change attributes in one of the stick rules but it never worked for me.