Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

set rotation unity

gameObject.transform.eulerAngles = new Vector3(
    x_rot,
    y_rot,
    z_rot
);
Source by forum.unity.com #
 
PREVIOUS NEXT
Tagged: #set #rotation #unity
ADD COMMENT
Topic
Name
9+2 =