I have a problem with my static varible, in a collision of my projectile i call it and minus 10 for the damage the projectile does, no i don't know weather its my collision scrip that is wrong or my static var that's not picking it up
this is my collision Code
that code is on my projectile it should minus HP when it hits the enemy ?
asked Jan 06 '11 at 08:31 PM
In to the function OnCollisionEnter...
Then in the if statement, put:
Now run, and tell me if both, or only one comes up. Posting as answer so I can format it.
answered Jan 06 '11 at 08:34 PM