- Home /
collision detection not working?
hello, i am new to unity.i am creating a basic platform game. i have a character which can be moved using gui buttons. All i wanted is if a object falls on head of character i want the character to die.how to detect whether a object is falling on a character.please help me. thank you in advance.
Answer by haim96 · Jun 05, 2014 at 12:19 PM
more info is needed. is this 3d or 2d project? if 2d, make sure you using 2d colliders\triggers
its 3d platform game like "granny smith" game on playstore. I need a suggestion to detect any thing falling on characters head and also i want the character to die when fallen from large heights.. please help me in htis. thankyou. @haim96
O$$anonymous$$, make sure you have a collider attached to your player and other objects. also add a rigid body to it. i also suggest you to check tutorials to learn more about this...
Your answer
Follow this Question
Related Questions
Custom collision detection 0 Answers
Collision Problem - Floor Button & Character Controller 1 Answer
Not detecting collision on imported (DAE) objects? 1 Answer
Collider colliding with itself 1 Answer
Find axis of collision 0 Answers