Need Angle Help
AppFueled
Member Posts: 308
I have a spear that is rotating back and forth. When the player touches the screen, the spear stops rotating. I then want the spear to fly in the direction it is pointing towards. How do I do that?
Best Answer
-
micksolo Posts: 264i think you'd just have two states for example
spearstate = 1, rotate
player presses screen, go to spearstate 2
spearstate =2; change velocity (whatever speed), direction = 0 (MUST HAVE relative to actor checked) so it goes in the direction it's facing.
Answers
Lump Apps and My Assets