fishfolk / punchy

A 2.5D side-scroller beatemup, made in Bevy

Home Page:https://fishfolk.github.io/punchy/player/latest

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Throwable Item animation bug

odecay opened this issue · comments

2022-07-01.14-33-52.mp4

When throwing items with T, sometimes one will show up in front of the player toward the ground.
Seems to only happen when throwing multiple in succession but could also just be easier to notice that way.

Narrowing this down. The position sent via event is correct (it starts from a consistent location).

More precisely, the bug happens when an item is thrown before an existing one has been despawned.

Found the fix. Will open a proof of concept fix, but as I wrote in Discord, a proper fix requires a redesign of the program, which takes into account the stages (due to commands flushing problems).