I am trying to detect a collision between 2 objects, each one of them has a
In the script I have the method
OnCollisionEnter(Collision other) where I want to check if the collided object is the same as a pre-defined variable, but when they collide, nothing gets called.
If I try to attach a Rigidbody to one of the objects, it works, but that makes the Rigidbody object behaves weird, like going up and down, and changing its rotation.
Is there a way to check for collision without having a Rigidbody attached? Or if not, how can I make the object with Rigidbody not moving weirdly, and rotating?