I made an ice plate that have a collision with everything. When something touch it - it disappear (breaks) in 0.5 seconds.
The problem is that when my "helper" (character that helps in the game), an enemy or even bullets touch it - it desappear BUT when I touch it (the main character) nothing happen!
How I make the ice disappear when everyting, including me, touch it?
here is my code if something wrong there:
function OnCollisionEnter ()
{
Destroy(gameObject, 0.5);
}
(thats all the code)
Sorry for poor english :)