P
P
Pragma Games2021-12-22 17:26:18
Unity
Pragma Games, 2021-12-22 17:26:18

Why does an object pass through the collider?

Hello. There is a wall through which the player must not pass. A collider hangs on each face, they intersect with each other. The player moves through Rigidbody.MovePosition(). When a player enters a corner and tries to go beyond it, he passes through the collider. Changing Collision Detection does not help. If you make the colliders non-intersecting, the problem persists.

61c334420d8c1352355621.png
61c33520e7289672045513.png61c335266e3d6989273696.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nekit Medvedev, 2021-12-23
@NIKROTOS

Does the player have a collider?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question