I have set up a camera with a look_at constraint targeted at a helper node (parented to a SpringArm3d, which in turn is child of a characterbody3d). Oribiting around the player by using x-mouse motion works fine, but when I try to move the camera up via y mouse motion, it just jitters around, clearly trying to move but being moved back (?). For testing purposes, tried to move the node via mousewheel input up/down, and this works without a hitch. I also tried moving the bodies as top_level, and via global_transform.origin.y, which gives even more trippy results 🙂
Any suggestions as to what I'm doing wrong would be very welcome!
if event is InputEventMouseMotion:
$"../..".rotate_y(-event.relative.x * mouse_sensitivity)
$"../..".transform.origin.y = -event.relative.y * mouse_sensitivity * 10