KucherenkoSerhiy / Microworld

4 stars 0 forks source link

Take care with momentum #22

Open adriaaula opened 6 years ago

adriaaula commented 6 years ago

If the force is too high, we can go through the colliders of the platforms and ground.

This should not be possibleeee.

It happens when you jump too much, gaining a lot of gravity.

Check it out. Possible solution:

KucherenkoSerhiy commented 6 years ago

Check faster means make fps upper what is a heavy load over device, making the game as heavy as DOOM 2016.

Other option is to use OnCollisionStay() in Unity that always checks if player is IN the wall and fixes that.