I'm having an issue with the position of a CollisionPolygon2D
generated with Create CollisionPolygon2D Sibling
where the origin [0, 0]
isn't actually centred on the sprite itself.
I need to flip the CollisionPolygon2D
to align with the animation as it's animated, but because the transformation doesn't occur centred it throws the CollsionPolygon2D
flipped around the incorrect origin, causing it to be wildly out of place.


However when I move it manually to be centred on the Sprite
, it accounts for that x, y
translation and also ends up being wildly inaccurate.


Is there:
a) a way to reset the origin of a CollisionPolygon2D
?
or
b) a way to generate collision shapes and align those with a sprite sheet?