Reply To: Is the reason the boxes keep flying upwards due to the fact that we're invoking Explosions() continuously (inside Update()…

Forum Archive Is the reason the boxes keep flying upwards due to the fact that we're invoking Explosions() continuously (inside Update()… Reply To: Is the reason the boxes keep flying upwards due to the fact that we're invoking Explosions() continuously (inside Update()…

#23070
Jonathan Gonzalez
Participant

    Yes to your first question. Until the object that has the script is destroyed it’ll still keep exploding. To your second question, I believe it does although I don’t know enough about the physics of it to know for sure. With some modifications to the script and a new layer you could also have the grenade ignore it’s own collider for the explosion.