Answers for "unity rotate a list of points 3d"

C#
1

rotate vector3 around pivot point unity

public Vector3 RotatePointAroundPivot(Vector3 point, Vector3 pivot, Vector3 angles) {    return Quaternion.Euler(angles) * (point - pivot) + pivot;  }
Posted by: Guest on December-03-2020
0

unity rotate around point

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

C# Answers by Framework

Browse Popular Code Answers by Language