Tuesday, August 7, 2018

Unity3D - Vector3 to Quaternion


static vector3 quaternion
vector3.zero (0, 0, 0) (0.0, 0.0, 0.0, 1.0)
vector3.back (0, 0, -1) (0.0, 0.0, -0.5, 0.9)
vector3.down (0, -1, 0) (0.0, -0.5, 0.0, 0.9)
vector3.forward (0, 0, 1) (0.0, 0.0, 0.5, 0.9)
vector3.left (-1, 0, 0) (-0.5, 0.0, 0.0, 0.9)
vector3.one (1, 1, 1) (0.6, 0.2, 0.2, 0.8)
vector3.right (1, 0, 0) (0.5, 0.0, 0.0, 0.9)
vector3.up (0, 1, 0) (0.0, 0.5, 0.0, 0.9)

No comments:

Post a Comment