- Home /
How to prevent my character from breaking colliders
Hi I have made a 2d game and I have a problem with 2d physics, my character always enter in poliygon collider 2d with his legs while jumping, how can i prevent my charecter doing it?
Ps: all my character body parts have a box collider (they are rectangles)
Answer by robertbu · Oct 04, 2014 at 02:36 PM
I've never solved this problem for 2D, but taking a quick look at the settings, you might play with the following settings in Edit > Project Settings > Physics2D:
Position Iterations
Max Linear Correction
Velocity Iterations
MaxAngular correction
Note that some of the setting are not in the online reference, so I'm not sure when they were introduced nor even that they are related to your issue.
You might also try: Edit > Project Settings > Time, and reduce Fixed Timestep...may going from 0.02 to 0.01
I have tried but in corners the character enter into the colliders
Hello! Any solution yet? Im having the same problem, you solved it?
Your answer
Follow this Question
Related Questions
Rigidbody2D character movement problem 0 Answers
2D platformer feeling 1 Answer
How to check if character reached jump apex / peak 1 Answer
Push character away 0 Answers