Answers for "how to rotate around a coordinate in unity"

C#
1

Unity Rotate around the real center

Vector3 position = myGameObject.GetComponent<Renderer>().bounds.center;

myGameObject.transform.RotateAround(position, rotationVector, degreesPerSecond * Time.deltaTime);
Posted by: Guest on May-02-2021
0

unity rotate around point

transform.RotateAround(point, axis, degrees);
Posted by: Guest on June-08-2020

Code answers related to "how to rotate around a coordinate in unity"

C# Answers by Framework

Browse Popular Code Answers by Language