ORK Framework  2.24.0
API Documentation
ORKFramework.Behaviours.SimpleMove Class Reference
Inheritance diagram for ORKFramework.Behaviours.SimpleMove:

Public Member Functions

virtual void MoveTo (float speed, Vector3 position)
 
virtual void Stop ()
 

Public Attributes

bool ignoreHeightDistance = true
 
bool smooth = true
 
float speedSmoothing = 10
 
float rotationDamping = 6.0f
 

Protected Member Functions

virtual void Start ()
 
virtual void Update ()
 

Protected Attributes

bool doMove = false
 
Vector3 targetPosition
 
float maxSpeed = 5
 
CharacterController controller
 
Vector3 moveDirection
 
float moveSpeed = 0