C# Class AIRotate, Obsolete

Inheritance: MonoBehaviour
Show file Open project: Orihaus/Obsolete Class Usage Examples

Public Properties

Property Type Description
AvoidDistance float
AvoidFoV float
ForwardDirection Vector3
LockYRotation bool
LookAway bool
Offset Vector3
PlayerVisDistance float
PreferedHeight float
Speed float
Target Transform

Public Methods

Method Description
FixedUpdate ( ) : void
Turn ( Vector3 targetDir, bool AllowLockY = false ) : void

Private Methods

Method Description
RayTest ( Vector3 rayDirection, float distance ) : bool

Method Details

FixedUpdate() public method

public FixedUpdate ( ) : void
return void

Turn() public method

public Turn ( Vector3 targetDir, bool AllowLockY = false ) : void
targetDir Vector3
AllowLockY bool
return void

Property Details

AvoidDistance public property

public float AvoidDistance
return float

AvoidFoV public property

public float AvoidFoV
return float

ForwardDirection public property

public Vector3 ForwardDirection
return Vector3

LockYRotation public property

public bool LockYRotation
return bool

LookAway public property

public bool LookAway
return bool

Offset public property

public Vector3 Offset
return Vector3

PlayerVisDistance public property

public float PlayerVisDistance
return float

PreferedHeight public property

public float PreferedHeight
return float

Speed public property

public float Speed
return float

Target public property

public Transform Target
return Transform