Convert LookVector/Surface Normal to rotation

Yeah look vector is not enough information

But from my knowledge there are only two methods to make up for this lack of information

One:

For more info this uses cross product with the direction vector and UpVector to generate the rest of the axises.

This is good if you don’t care about the rotation along that surface normal axis let’s say for a circular/cylindrical object like a blood puddle.

Second:

Getting the shortest rotation from one vector to another vector. This allows for rotation along that surface normal axis which is good for systems like a character controller.

1 Like