Vec3.PerpendicularRight

static Vec3 PerpendicularRight(Vec3& forward, Vec3& up)

   
Vec3& forward What way are you facing?
Vec3& up What direction is up?
RETURNS: Vec3 Your direction to the right! Result is -not- a unit vector, even if both ‘forward’ and ‘up’ are unit vectors.

Exactly the same as Vec3.Cross, but has some naming memnonics for getting the order right when trying to find a perpendicular vector using the cross product. This’ll also make it mor obvious to read if that’s what you’re actually going for when crossing vectors!

If you consider a forward vector and an up vector, then the direction to the right is pretty trivial to imagine in relation to those vectors!