Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

quaternion rotation unity

using UnityEngine;

public class lerp_demo : MonoBehaviour
{
    Quaternion rot=new Quaternion(0.4f,0.5f,0.9f,1);
  
    void Start()
    {
       transform.rotation=rot;
        
    }
}
Source by vionixstudio.com #
 
PREVIOUS NEXT
Tagged: #quaternion #rotation #unity
ADD COMMENT
Topic
Name
7+1 =