|
Hi this may sound like a very dumb question but I am trying to get the explosion to be made at the player location but only when the health reaches 0, here isi the script. Thank you
(comments are locked)
|
|
You just need to rearrange things a little bit. In your OnCollision- Then just get rid of the thing in Update (since it is now unnecessary) Dude thank you for the help, I made those adjustments and it is working now :) also cheers Ludiares for the help mate
Nov 07 '11 at 11:32 PM
exchangeSh9
(comments are locked)
|
|
Try Instantiting the explosion in the if block, not inside the OnCollisionEnter function
(comments are locked)
|
