Terrain Collider Hit
Hello .. i'm creating a game with airplane if hits anything the player loses ( dead ) i used void OnCollisionEnter(Collision other) { if (other.gameObject.tag "Terrain") Debug.Log ("Dead");
the code works with any collided object but it doesn't work with Terrain Collider ( Added Rigidbody ) ( Terrain tag is Terrain ) and note that the Terrain Collider is working fine it colliding with the airplane but it doesn't log "Dead"
Your answer
Follow this Question
Related Questions
Collider seems bigger than it is 0 Answers
How can I detect the collision of a gameObject which is at a high speed? 1 Answer
How to move an object on a terrain that will always stay on top of the terrain? 2 Answers
Making my walls disappear by touching the floor 0 Answers
Raycast is hitting a collider but ignores it right after 0 Answers