|
Hi, I have created 3rd person character controller and its moving,walking, rotating correctly but I want to pickup Spawn point through 3rd person controller and count the score also..but i am getting difficulty in this..Please anyone can resolve this...and also how to use trigger ,when i used trigger my player is just falling down from terrain...Thanks in advanced..
(comments are locked)
|
|
what you can do is attach a trigger collider to your objects (not to your character), then attach a script to your objects containing OnTriggerEnter, the code inside this function will be called when the player enters the objects collider (given that your objects or the character has a rigidbody), you can then destroy your pickups and increment your score here
(comments are locked)
|
