x


3rd person pickup spawn points..

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..

more ▼

asked May 23 '12 at 08:39 AM

k_pragya gravatar image

k_pragya
0 3 4

(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

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

more ▼

answered May 29 '12 at 07:51 PM

lyzard gravatar image

lyzard
176 5 6 7

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x519

asked: May 23 '12 at 08:39 AM

Seen: 367 times

Last Updated: May 29 '12 at 07:51 PM