Answers for "unity rotate around pivot c#"

C#
1

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

C# Answers by Framework

Browse Popular Code Answers by Language