+1 vote

Is that possible to changing the colliders of a player in each individual frame of the animation in godot 3? I mean reposition it. Cause my animation are bigger than 32x32 and in each frame the draw is in a different position, it's good for animation consistency, but bad for colliders positioning.

I mean, something like fighting games that changes the colliders position every time, I just want know if godot could do that?

asked Dec 28, 2018 in Gossip by arthurZ (74 points)

1 Answer

+2 votes
Best answer

I would recommend to add an AnimationPlayer and animate your collider so that its correct each frame. Then start the animation together with the animation of your Sprite. You can set the animation to loop. Should work. For different Sprite Animations you would have to add other animations I guess. But it could be worth the effort. Good Luck

answered Dec 28, 2018 by Jowan-Spooner (748 points)
selected Jan 22 by arthurZ
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.