- Home /
Overlapping colliders problem - causes player to bounce
Hi, I am making a 2D endless runner. The Player is using a 2D box collider and has a constant y velocity making the player move in the right direction. Because this is a endless runner i have to spawn platforms in front of the player as the game goes on. The platform colliders overlap slightly when it gets spawned but when the player hits this overlap it causes the player to bounce slightly and i have no idea why. They are spawned on the exact same y position, so one is not higher than the other. Any ideas why this happens, it is really frustrating. Thanks in advance for any help.
Answer by AceToAced · Jun 20, 2018 at 08:49 AM
I fixed the issue by rotating the platform by 0.01 on the z axis, making the next platform slightly lower than the previous one. Still have no idea why this problem exists in the first place.
Your answer
Follow this Question
Related Questions
Physics2D.OverlapArea inaccurate? 2 Answers
Physics2D.OverlapBoxAll and Physics2D.OverlapAreaAll are inaccurate. 0 Answers
How to use OverlapCollider? 1 Answer
Same script on two gameobjects, only the original(first) one is working 1 Answer
Is Overlap Circle Supposed to return inactive colliders? 1 Answer