I have 2 gameObjects and both have colliders. Is it possible to detect collision without making it rigid body?
In the documentation it says “OnCollisionEnter is called when this collider/rigidbody has begun touching another rigidbody/collider”
But when i try this function without making the gameObject a rigid body it doesn’t run.
function OnCollisionEnter(collision : Collision) {
print(collision.gameObject);
}