The Vector needs to be turned into a Rotation
Here is the code:
MathLib.rotate_angle_axis(actor_forward_vector, 90.0, Vector3!xyz(0.0,1.0,0.0)).RotationAngles.Rotation
Is this how it should be done, or is there a better way?Thanks!
That's exactly how I'd do it if I needed it rotate around a specific axis. There's also a built-in Vector3.rotate_by if you need to rotate by some known pitch/yaw/roll.