Can we change the collision shape pivot point?

Godot Version

v4.4.stable.official [4c311cbee]

Question

HI,

I can’t get my collision shape to rotate the same as my animated sprite. The Helicopter sprite is being rotated/tilted via the script; it isn’t animated other than the helicopter blades spinning.

Can we change the collision shape pivot point? When I press the pivot button, nothing happens.

Any ideas out there, please?

Is your collision shape a child of the animated sprite?

yes it is

If you rotate the parent object all the childs you rotate the same way. Are you rotating the texture? You need to rotate PlayerHeli

1 Like

Collision shapes don’t have pivots, but if you rotate the parent, their position property acts like a pivot. Sometimes people use dummy nodes as pivot points for their children, like when rotating a first person camera.

Yup, what they said. Rotate PlayerHeli and the collision shape will rotate with it.