Answers for "unity convert quaternion on vector3"

3

how to convert vector3 to quaternion

Quaternion rot = Quaternion.Euler(V3.x, V3.y, V3.z);
Posted by: Guest on July-05-2020
0

get quaternion from vector unity

Quaternion rotation = Quaternion.LookRotation(Vector3 forward, Vector3 up);
Posted by: Guest on July-18-2021

Browse Popular Code Answers by Language