Gravity in a 2D Platformer
Hey,
I am working on a character, and the gravity is not working. I have used tshirtbooths tutorial for 2d platforming, and my gravity code is this:
Character Actor:
Accelerate
270 degrees
Speed 1000
Bounce when colliding with actor of type 'block'
The character falls a short drop, and then continues to bounce. How do I fix it so he simply lands?
I am working on a character, and the gravity is not working. I have used tshirtbooths tutorial for 2d platforming, and my gravity code is this:
Character Actor:
Accelerate
270 degrees
Speed 1000
Bounce when colliding with actor of type 'block'
The character falls a short drop, and then continues to bounce. How do I fix it so he simply lands?
Best Answer
-
jamie_c ImagineLabs.rocks Posts: 5,772
For the platform and character actor set the Bounciness under the Physics options to 0 and there should not be any bounce.
Jamie
Answers
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page