Sets to the matrix of rotation that would align the 'from' vector with the 'to' vector. The optional Axis argument may be used when the two vectors are parallel and in opposite directions to specify a specific solution, but is otherwise ignored.
Name | Type | Description |
From | Vector | Input Vector object to align from. |
To | Vector | Input Vector object to align to. |
Axis | Vector | Input Vector object. This is an optional argument whose default value is 0. |