You press a button, the animation changes to the “firing” version of the animation you are currently in, then, the bullet object is created at the specific point named “Shot” that only exists in the “firing” version of the animation
There’s a weird mistake happening when wall jumping/sliding (by the way, I’m using an extension for that)
When I ire a bullet while wall jumping/sliding, the bullet comes from the origin point (foot), not the “Shot” point. I can’t find a way to solve this problem, so any help would be appreciated!
How the animation works:
Video of the problem in action:
(When wall jumping or wall sliding, the bullet comes from the foot of the player. However, if you fire a bullet again while in the “firing” version of the wall animations, the bullet comes from the right place)