Method GetLookAtPointAndSetTrackedPoint
GetLookAtPointAndSetTrackedPoint(Vector3, Vector3, float)
Apply the target offsets to the target location. Also set the TrackedPoint property, taking lookahead into account.
Declaration
protected virtual Vector3 GetLookAtPointAndSetTrackedPoint(Vector3 lookAt, Vector3 up, float deltaTime)
Parameters
| Type | Name | Description |
|---|---|---|
| Vector3 | lookAt | The unoffset LookAt point |
| Vector3 | up | |
| float | deltaTime |
Returns
| Type | Description |
|---|---|
| Vector3 | The LookAt point with the offset applied |