Actor slows down on platform when accelerating down
allc1865
Member, PRO Posts: 777
I am spawning actors downward using the acceleration behavior. I have them landing on a platform and moving right. I'm using linear velocity to make them move at a certain rate. The only problem is that once they land on the platform they start moving and then slow down until they have finally come to a complete stop. Why is this?
Thanks in advance
Best Answer
-
jamie_c ImagineLabs.rocks Posts: 5,772
You probably need to turn drag off (make drag 0) in both the actor and the platform it is moving on.
Answers
@jamie_c, the drag is turned 0, but I turned the density and friction to 0 on both the actor and platform and now it works great. Thank you!
You're welcome.
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page