Turn off gravity for one character only
bkhoward2001
Member, PRO Posts: 86
I have a scene that has gravity, but I need one actor that does not obey the gravity but moves (floats) freely... Any ideas?
Comments
Use acceleration behaviors as ''gravity' and just don't add that behavior to that actor.
Tried that but that is causing quite a bit of trouble... It is a shame that there is not an 'ignore gravity' setting that could be used with actors....
Turn off moveable?
Homepage: freneticgamez.eu/
https://play.google.com/store/apps/developer?id=FreneticGamez
Perhaps trying accelerate direction 90 at same speed as gravity
I will try that...
That does get him to move to a point, but he then stops.. How do you get him to continually chase the main actor? I have tried to store the main actor's x/y coordinates and then he moves to that and stops.... I use the Move To attribute, but he doesn't continually keep moving after the main actor?
I'm not sure what kind of chasing behavior you are looking for but I did a tutorial for an RPG style below. This uses Accelerate Toward instead of Move To, because as you've seen Move To moves to the given point and stops.
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
That worked!
Great, glad to hear it!
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page