public override void _Input(InputEvent e) { if (e is InputEventMouseMotion) { var basis = body.GlobalTransform.basis; body.GlobalRotate(basis.x.Normalized(), -((InputEventMouseMotion)e).Relative.y * sensitivity / 60); body.GlobalRotate(basis.y.Normalized(), -((InputEventMouseMotion)e).Relative.x * sensitivity / 60); } }