Converts a look vector to a quaternion rotation
| <vizmat>.LookToQuat( | |
| look | # [x,y,z] |
)
look
3 numbers representing a look vector.
NOTE: This does not represent a point to look at, but a vector pointing in a given direction
Given a direction vector, this command will return a quaternion that will look in the same direction.
[x,y,z,w]