You can rotate a vector with a Transform2D. Also note that angles in Godot are in radians. var m = Transform2D().rotated(deg2rad(30)); ...
確定! 回上一頁