When shooting, I spawn the gunfire animation at the edge of the Hero_Guns.
When the hero is standing still, it spawns correctly, but when he's moving, the gunfire spawns in the wrong position.
How to fix this?
Event: i.vgy.me/1uKMTm.png
Video: webmshare.com/play/VbLJK
Develop games in your browser. Powerful, performant & highly capable.
Your hero moves, but the Gun_Fire sprite stays in one place. You can try attaching it to the hero (with hierarchy or Pin), maybe it will look better.
Its works great with hierarchy , Thanks