Converting transform.basis to godot 4

Godot Version

Question

Anyone know how i would convert this:
transform.basis = Basis(Vector3(0, _mouse_motion.x * -0.001, 0))

to Godot 4 ?

Use the static function Basis.from_euler()

1 Like

Thanks!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.