Snayff / nqp3

1 stars 2 forks source link

Projectiles move together with their parents #42

Open eh-jogos opened 1 year ago

eh-jogos commented 1 year ago

Describe the bug Projectiles seem to move together with their parents. Ideally they would be set as top_level or be spawned separately from Actor, so that Actor's movement doesn't affect it.

To Reproduce Steps to reproduce the behavior:

  1. Run comander_test.tscn
  2. Hurt the ai commander until it starts fleeing
  3. When it stops it will cast a long range spell and wait
  4. approach the commander and it will release the spell and flee, the projectile will move backwards while ai commander is fleeing.

Expected behavior Projectiles should move independently from it's casters.

Desktop (please complete the following information):