I want to rotate more objects around a common point at the same time (like the planets rotate around the Sun). I rotate them in the Update method
The problem is : I use
if (Input.GetMouseButton(0))
{
transform.Rotate(Vector3.forward, speed * Time.deltaTime);
}
This looks ok in the editor, but on any device it looks choppy, it’s not a smooth animation.
How can I make it look smooth ? Should i use physics, make them objects not affected by gravity and apply angular forces to them while the mouse is pressed ?