Property | Type | Description | |
---|---|---|---|
AvoidDistance | float | ||
AvoidFoV | float | ||
ForwardDirection | Vector3 | ||
LockYRotation | bool | ||
LookAway | bool | ||
Offset | Vector3 | ||
PlayerVisDistance | float | ||
PreferedHeight | float | ||
Speed | float | ||
Target | Transform |
Method | Description | |
---|---|---|
FixedUpdate ( ) : void | ||
Turn ( Vector3 targetDir, bool AllowLockY = false ) : void |
Method | Description | |
---|---|---|
RayTest ( Vector3 rayDirection, float distance ) : bool |
public Turn ( Vector3 targetDir, bool AllowLockY = false ) : void | ||
targetDir | Vector3 | |
AllowLockY | bool | |
return | void |