This is the base class for the NPC movement controllers. All movement controllers should derive from this.
More...
Inherits MonoBehaviour.
Inherited by plyGame.NPCMovePro, and plyGame.NPCMoveSimple.
This is the base class for the NPC movement controllers. All movement controllers should derive from this.
virtual Vector3 plyGame.NPCMoveBase.DesiredVelocity |
( |
| ) |
|
|
virtual |
Mover's desired velocity.
virtual void plyGame.NPCMoveBase.FaceDirection |
( |
Vector3 |
direction, |
|
|
float |
turnSpeed |
|
) |
| |
|
virtual |
Ask the mover to face the NPC in the target direction.
virtual bool plyGame.NPCMoveBase.Grounded |
( |
| ) |
|
|
virtual |
Is the character on the ground?
virtual bool plyGame.NPCMoveBase.InControlledTurn |
( |
| ) |
|
|
virtual |
Return true if in controlled turn. Normally when performing a FaceDirection() request.
virtual bool plyGame.NPCMoveBase.IsMovingOrPathing |
( |
| ) |
|
|
virtual |
Is the mover moving the character or getting ready to move it?
virtual void plyGame.NPCMoveBase.MoveTo |
( |
Vector3 |
pos, |
|
|
float |
moveSpeed, |
|
|
float |
turnSpeed |
|
) |
| |
|
virtual |
Ask mover to move the NPC to the target position.
virtual void plyGame.NPCMoveBase.Stop |
( |
| ) |
|
|
virtual |
Make the mover stop immediately.
virtual void plyGame.NPCMoveBase.UpdateVelocity |
( |
Vector3 |
v | ) |
|
|
virtual |
Tell mover to use this velocity.
virtual Vector3 plyGame.NPCMoveBase.Velocity |
( |
| ) |
|
|
virtual |
Current velocity according to mover.