Answers for "rotate object at pivot point instead of center unity"

C#
3

unity rotate around pivot c#

public Transform customPivot;

void Update()
{
    transform.RotateAround(customPivot.position, Vector3.up, 20 * Time.deltaTime);
}
Posted by: Guest on August-03-2020

Code answers related to "rotate object at pivot point instead of center unity"

C# Answers by Framework

Browse Popular Code Answers by Language