MP_vAIHeadTrack
Function Definitions
Select the function name from below to jump directly to it on this page.
FixedUpdate
GetLookPoint
LateUpdate
RemoveMainLookTarget
SetMainLookTarget
protected override void FixedUpdate()
Override or original FixedUpdate so I can control when to call fixed update with a variable that I have access to.
| Expose Value | Overrideable | Returns |
|---|---|---|
| protected | True | Does not return anything |
No parameters
protected override Vector3 GetLookPoint()
Set the _lookAtPoint if you’re the owner
| Expose Value | Overrideable | Returns |
|---|---|---|
| protected | True |
No parameters
protected override void LateUpdate()
Only perform the late update if you’re the owner. Otherwise only rotate to specified locations and weights.
| Expose Value | Overrideable | Returns |
|---|---|---|
| protected | True | Does not return anything |
No parameters
public override void RemoveMainLookTarget()
When the main look target is removed, notify all the network versions to remove their target as well.
| Expose Value | Overrideable | Returns |
|---|---|---|
| public | True | Does not return anything |
No parameters
public override void SetMainLookTarget(Transform target)
When the main look target changes notify all the network versions to switch to the new target.
| Expose Value | Overrideable | Returns |
|---|---|---|
| public | True | Does not return anything |
| Parameter Name | Description |
|---|---|
| target | *No found decription |