Follow.GetTrackingData
Static Method in Follow
Declaration
public static void GetTrackingData(CameraContext context, Transform target, Vector3 offset, out Vector3 trackingPoint, out Quaternion trackingRotation)
Description
Calculates the tracking point and tracking rotation for the camera.
Parameters
context | The camera context. |
target | The target to track. |
offset | The offset from the target. |
trackingPoint | The output tracking point. |
trackingRotation | The output tracking rotation. |