Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

Convert vector3 to Quaternion Unity

using UnityEngine;
public class rotation_demo : MonoBehaviour
{
    Quaternion rot;
  
    void Start()
    {
        rot.eulerAngles=new Vector3(45,0,90);
    }
}
Source by vionixstudio.com #
 
PREVIOUS NEXT
Tagged: #Convert #Quaternion #Unity
ADD COMMENT
Topic
Name
7+1 =