gmuGADIG / Fruit-Punch

Unity game developed by GADIG at GMU, Spring 2024.
4 stars 1 forks source link

Bug: Enemy movement becomes erratic after escaping from a grapple #184

Closed BeafCultist closed 6 months ago

BeafCultist commented 6 months ago

Basically, if you grapple an enemy then let it escape, the enemy's movement patterns will now be influenced by the player's movements, and attempting to grapple then throw another enemy/item will instead throw the original enemy, regardless of distance or relative location compared to the player. I'm not super familiar with programming, but apparently this is because grappling makes the enemy a child of the player, and escaping from a grapple doesn't disable that like it should.