Hi, I used this script on player character
but after collide , live shows -189 or more, this result is for one collide not more, how can i fixed it? one collide and one live--
i tried by OnTriggerEnter,too and that result was wrong
this is my complete code
Test for a hit as you have,
then test if it is the first hit,
if so apply damage,
if not ignore,
if no hit then reset the var you use to check if it is the first hit.
good luck with whatever method you end up using!
answered Mar 21 '11 at 09:36 PM