doesnt affect by gravity y axis?
vindictuss@yahoo.com
Member, PRO Posts: 55
anyone know a way to make actor didnt get affected by gravity from y Axis? but is still movable
Comments
Constrain actor's linear velocity y to 0.
I would NOT use the Gravity setting in the Scene Palette. Instead create your own gravity using an Accelerate Behavior in the actors you want to be affected by gravity. Then for actors you don't want affect, just don't apply any. This method is more flexible than using the overall Scene Setting.
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
thank you guys i actually use both of your technique i change gravity on the scene to 0 then i use constrain attribute to change the linear velocity to -100 so far so good. i appriciate both your help