Property | Type | Description | |
---|---|---|---|
applyGravity | bool | ||
layerMaskName | string | ||
moveSlowDownDistance | float | ||
rotateDamping | float | ||
smoothPathFinding | bool | ||
speedDamping | float |
Property | Type | Description | |
---|---|---|---|
actor | Actor | ||
charCtrl | CharacterController | ||
curPathIdx | int | ||
layerMasks | int | ||
moveDir | Vector3 | ||
moveSpeed | float | ||
path | Vector3[] | ||
velocity | Vector3 |
Method | Description | |
---|---|---|
CheckCapsule ( float _height, float _raidus ) : bool | ||
FaceTo ( Vector3 _dir ) : bool | ||
GetMoveDir ( ) : Vector3 | ||
GetMoveSpeed ( ) : float | ||
GetVelocity ( ) : Vector3 | ||
Init ( Actor, _actor ) : void | ||
MoveTo ( Vector3 _pos ) : void | ||
MoveTowards ( Vector3 _dir ) : void | ||
Step ( ) : void | ||
Stop ( ) : void |
public CheckCapsule ( float _height, float _raidus ) : bool | ||
_height | float | |
_raidus | float | |
return | bool |