Hi! I have a moving object with two colliders for an explosion spell. One is disabled till the other hits something. The disabled one is bigger than the one that detects hits. It doesn't work and I am suspecting it's because when I enable the hitbox the enemies are already in there.
What the code currently does correctly:
- Detect when arrow hits enemy
- Delete arrow
- Enable the hitbox
- Disable the hitbox again after x time
What I need it to do that it does not do:
- Hurt the enemies
If I take out the enable/disable bit the code damages the enemies just fine