My rigidbody isn’t detecting some collisions with mesh colliders(terrain). I’m modifying the transform.position of rigidbody and it is transforming into the terrain. But when I checked convex in mesh collider, it is detecting the collision. Can anyone explain why it isn’t working? I believe it is because of modifying transform.position. How can we get around this if we dont want to use Addforce, velocity etc except for modifying transform.position?
Set your rigidbody to kinematic (look up the docs if you don’t understand what that is), or use the build-in rigidbody functions. E.g.: