- Home /
How do I stop a player from bouncing on a descending platform?
I have a player (with a box collider 2d and a rigidbody 2d) and a platform (with a collider2d);.
The problem is that when the player lands on the descending platform, instead of landing on the platform and staying there (what I want it to do), it bounces. It appears that when the two objects collide, the player's descent stops so the platform continues without it, causing the bounce. Is there a simple way to stop this?
Here is a gif of the problem: http://gfycat.com/DangerousUnlawfulHind
Answer by HexadimensionalerAlp · Aug 19, 2014 at 10:30 PM
The player doesn't bounce but stops moving when colliding with the platform and has to accelerate again over and over. A good way to prevent that would be to make the player child of the platform as long as you don't want your player to move.