Unity3D colliders act more like sponges than solid objects

I make a platformer in Unity3D, and I noticed that Unity3D colliders behave strangely in the simple sense that they don't seem durable.

To better demonstrate the problem, I used a simple sphere and a cube and paused the game, because the sphere “jumps”. By flipping frames in the frame, you can clearly see the ball falling below the cube.

Transition height

Just before the cube hit

The part of the sphere that disappears through the cube

How the ball lands

Why is this happening and how can I fix it?

+4
source share
1 answer

. , , . , . .

1. Discrete - unless you experience problems you should use discrete. 
2. Continuous - for fast moving objects that are interacting with static geometry.
3. Continuous Dynamic -as above but are also interacting with other fast moving dynamic objects.

, .

+3

Source: https://habr.com/ru/post/1671705/


All Articles