Okay so like
My problem is that:
- The enemy does not attack when it is in range
- Weirdly, the enemy DOES attack, but only sometimes and very randomly
- The enemy also attacks while there is a exact distance between ???? Like wtf lmao
- The enemy gets back up after death state and continues to change states, even though i don't even have an update_death_state function to change the state.
base enemy is my parent and simple_enemy inherits from the base_enemy