Property | Type | Description | |
---|---|---|---|
clampHeadPositionScreenSpace | float | ||
distance | float | ||
height | float | ||
lineOfSightMask | LayerMask | ||
maxSpeed | float | ||
smoothLag | float | ||
snapLag | float | ||
target | Transform |
Method | Description | |
---|---|---|
Apply ( Transform dummyTarget, Vector3 dummyCenter ) : void | ||
ApplyPositionDamping ( Vector3 targetCenter ) : void | ||
ApplySnapping ( Vector3 targetCenter ) : void | ||
Awake ( ) : void | ||
DidChangeTarget ( ) : void | ||
LateUpdate ( ) : void | ||
SetTarget ( Transform t ) : void | ||
SetUpRotation ( Vector3 centerPos, Vector3 headPos ) : void |
Method | Description | |
---|---|---|
AdjustLineOfSight ( Vector3 newPosition, Vector3 target ) : Vector3 | ||
AngleDistance ( float a, float b ) : float | ||
GetCenterOffset ( ) : Vector3 |
public Apply ( Transform dummyTarget, Vector3 dummyCenter ) : void | ||
dummyTarget | Transform | |
dummyCenter | Vector3 | |
return | void |
public ApplyPositionDamping ( Vector3 targetCenter ) : void | ||
targetCenter | Vector3 | |
return | void |
public ApplySnapping ( Vector3 targetCenter ) : void | ||
targetCenter | Vector3 | |
return | void |
public SetUpRotation ( Vector3 centerPos, Vector3 headPos ) : void | ||
centerPos | Vector3 | |
headPos | Vector3 | |
return | void |
public float clampHeadPositionScreenSpace | ||
return | float |