Answers for "how to rotate object infinitely in unity with given speed"

C#
0

how to set a screen rotation in unity

public class Example : MonoBehaviour
{
    // Start in landscape mode
    void Start()
    {
        Screen.orientation = ScreenOrientation.LandscapeLeft;
    }
}
Posted by: Guest on December-01-2020
0

c# how to make object rotate forever

//Use FixedUpdate instead of Update for physics, rotation, and movement.
void FixedUpdate()
    {
        laserPointer.Rotate(x, y, z);
  		//Use your own rotation values to replace x, y and z.
    }
Posted by: Guest on August-06-2020

Code answers related to "how to rotate object infinitely in unity with given speed"

C# Answers by Framework

Browse Popular Code Answers by Language