UtilVectorToInverseRotationRight Method |
Creates a rotation matrix to point opposite to a direction defined by two vectors.
Namespace: Demo3D.CommonAssembly: Demo3D.Common (in Demo3D.Common.dll) Version: 19.01.00
Syntaxpublic static Matrix VectorToInverseRotationRight(
Vector3 forward,
Vector3 right
)
Parameters
- forward Vector3
- A vector defining the forward direction (X axis).
- right Vector3
- A vector defining the right direction (-Z axis).
Return Value
MatrixThe rotation matrix created.
See Also