#Help with code line
1 messages ยท Page 1 of 1 (latest)
are you using a for/foreach loop to go through every single collider it hits?
does it throw any error or it just doen't work?
could be a bunch of different things
- explosionRadius is actually like 0 or something
- LayerMask is incorrect
- LayerMask is correct but objects aren't on the layer
etc.
but explosionRadius is 5f and all of the object are in the correct LayerMask
foreach
i uninstalled and reinstalled the editor and this line works now :/