If I add gravity to my game how do I make an actor that has no gravity
THINGTHING
Member Posts: 84
If I add gravity to my game how do I make an actor that has no gravity
Comments
First option,just set movable attribute to false.
Second option, if you want your actor to move on the x axis without being sensitive to gravity, constrain the position.y. But the problem is that it won't work if you spawn your actor randomly.
So the third option is to constrain linear velocity on the y axis to 0 (Motion->linear->y).
Good luck !
Accelerate:
direction 90
acceleration 300
This will make your character as though they are not affected by the gravity at all. You can add whatever movement rules, etc you like.