Unity Tilevania Prevent Wall Jump

I’m working on the 2D developer course with Unity and am on the Prevent Wall Jump lecture, the issue I’m having is that my character’s box collider is being ignored unless I make it way bigger

image

Hi Jonah,

What do you mean by “way bigger”?

Generally, Unity’s physics simulation is optimised for speed, not precision. Depending on how fast your player is, it might be that collisions with small colliders get missed. What you could try is to set the Collision Detection of the player’s Rigidbody2D component to “Continuous”.

Did this work?


See also:

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms