How can orbit around an object in Godot 4. I tried to convert the Orbit camera from Godot 3, but I got an error with the missing “set_euler” command.
In Godot 4, you want the from_euler() function. Docs here. Though, do note that the new function returns a new Quaternion rather than setting the current one.
from_euler()
Quaternion
Thank you! "var t = Quaternion().from_euler(_rotation) " worked.
MeatRack | 2023-03-02 13:45