Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

unity always rotating object

public float speed = 50.0f;


    void Update()
    {
        transform.Rotate(Vector3.up * speed * Time.deltaTime);
    }
 
PREVIOUS NEXT
Tagged: #unity #rotating #object
ADD COMMENT
Topic
Name
9+7 =