Answers for "unity quaternion"

0

unity quaternion

/* Quaternion is a combination of a vector3 and a scalar used to represent the rotation or orientation of an object.

The structure of quaternion looks like this (xi, yj,zk,w) where (xi,yj,zk) is a unit vector that represents the angle between the orientation and each individual axis. “w” represents the degree of rotation along the unit vector (xi,yj,zk).

In Unity, Quaternion can also be represented using a vector 4. */

Quaternion rot=new Quaternion(0.4f,0.5f,0.9f,1);
Posted by: GonaRip on June-30-2022

Code answers related to "unity quaternion"

Browse Popular Code Answers by Language