Need help with rotating player model when moving left and right

Godot Version

Godot v4.4.1

Question

I'm making a third-person 3D game where you drive a ship forward and I want to implement the ship swaying left and right whenever the player moves in said direction. I've looked around but couldn't really find anything. How would you go about doing this? Thanks in advance!

Move physics body but rotate only its visual representation, which will typically be a child mesh instance node. For more specific advice post your ship scene setup/hierarchy.

1 Like