Problem with the center point of my playable character

Godot Version

4.6.2

Question

I did a skeleton 2D for a character and now that I’m trying to code the movement, I noticed that the character isn’t centered properly, causing some issues with flipping the animations, I’m wondering if there’s a way to fix it without having to redo everything from the start

Leaving a pic to illustrate my problem more clearly

Thanks in advance!

Yes.

What’s your scene tree look like?

It looks like this, I know it must be the position of the bones that are not quite there with the skeleton 2D node

Add another Node2D, and then put the Skeleton2D under it. Then transform the Node2D to move everything to the center - but it cannot be the root node of the scene. Hence needing to add one in just for the transformation.

Thank you, I’ll try this and see if I can get it to work!

1 Like