Answer the question
In order to leave comments, you need to log in
Why doesn't collider work with rigidbody kinematic in Unity2D?
Hello forumites. I'm sorry for the possibly stupid question, but here's the situation: There is a player-image with a motion script, a Rigidbody2D component and a 2d collider, and there is also an obstacle with a 2d collider. A game with a top view, and accordingly for the player I set the kinematic parameter to Rigidbody so that it does not fall. But at the same time, the player simply passes through the obstacle, ignoring the colliders. What's wrong? How to fix it?
Answer the question
In order to leave comments, you need to log in
kinematic means that you yourself completely control the object, both movement and other collisions.
try adding a Rigidbody2D(kinematic) to the obstacle, I managed to solve it this way, or on some collider there is a checkmark "Is trigger", it must be removed
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question