Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

object spin unity

void FixedUpdate()
{
	gameObject.transform.Rotate(0, 0, +1)//Rotate(x, y, z) + = add one per update
}
 
PREVIOUS NEXT
Tagged: #object #spin #unity
ADD COMMENT
Topic
Name
7+9 =