Quaternion methods
Static methods
Quaternion.identity
This function returns the identity quaternion. Meaning no rotation would be applied to the Object, Vector, other Quaternion, etc.
Quaternion.fromEuler
Returns a Quaternion corresponding to a euler angle rotation in radians
Quaternion.lookAt
Quaternion.lookAtOptimized
WARNING: This function is unstable and hard coded. This is not meant to be used for general purposes. Only use if you know what you are doing. Otherwise, please use Quaternion.lookAt
This function takes in an array for the heading it should point towards, and returns a Volts.Quaternion
Instance methods
Quaternion.copy
This copies the values of a Quaternion and returns a new one
Last updated