- Home /
How do I make a car in my driving scene trigger the trotting of a deer (on collision with a box collider around another object) and then make the deer die when my car collides with the deer?,
Please I need help in making a collision script work. I have several animations for my deer(trotting, jumping, walking, died, etc.). But I want the "deer trotting" to be activated when my car passes through a box collider I attached to road ramp. After this I want, I want to set a condition in the script which is - if the car collides with the deer, the "deer died" animation should play. Here is the script I wrote but it seems not to work, no collision detected and the deer is stagnant. I also made a new trigger animation controller with transitions but I'm still not able to get it work. Pls offer me your kind assistance.alt text
,
Your answer
Follow this Question
Related Questions
How to trigger an event if the collided object has the tag “Player” 3 Answers
How do I create two colliding Spheres? 1 Answer
Light rarely turns on 1 Answer
Detecting collisions 3 Answers
Attack animation Wont Play 1 Answer