Answers for "unity rotation matrix around point"

C#
4

unity rotation between 2 points

transform.rotation = Quaternion.FromToRotation(Vector3.up, v3Pos2 - v3Pos1);
Posted by: Guest on October-29-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