OpenMetaverse Protocol Library Developers API Documentation
RotationBetween Method (a, b)
NamespacesOpenMetaverseVector3RotationBetween(Vector3, Vector3)
Calculate the rotation between two vectors
Declaration Syntax
C#
public 
static 
Quaternion 
RotationBetween(
        
Vector3 
a,
        
Vector3 
b
)
Parameters
a ( Vector3)
Normalized directional vector (such as 1,0,0 for forward facing)
b ( Vector3)
Normalized target vector

Assembly: OpenMetaverseTypes(Module: OpenMetaverseTypes.dll) Version: 0.0.0.0