145 void move(
int EntityID,
int Speed );
184 void moveUp(
int EntityID,
int moveUpSpd );
190 void doJump(
int EntityID,
int force );
196 void setGravity(
int EntityID,
float x,
float y,
float z );
219 void setPosition(
int entityID,
float x,
float y,
float z);
275 void ko(
int entityID);
284 void revive(
int entityID);
304 void followPath(
int entityID,
string pathName,
float speed);
457 void setDimension(
int entityID,
float radius,
float height);
476 void setOffset(
int entityID,
float x,
float y,
float z );
492 vec3
getOffset(
int entityID,
float x,
float y,
float z );
void setJumpDownforce(int EntityID, int force)
void getPosition(int EntityID)
void revive(int entityID)
Sets the player to its knock out status to false and enable the characters movement once again...
int isDestinationReached(int entityID)
Poll to check if the character has reached its destination.
void setPathAccuracy(int entityID, float accuracy)
Set the accuracy of the path to follow. Lower numbers make the distance to each node before trigger s...
Definition: LUA_API_CharacterController.h:104
vec3 getOffset(int entityID, float x, float y, float z)
Get the offset of the mesh that is moved by the capsule.
void followPathPosition(int entityID, float x, float y, float z)
Override the default path follow and enter your own point to move to. In order for this to take effec...
void setPositionString(int entityID, String xyz)
Sets the player position .
void invertGravity(int EntityID, state)
void setAdvancedCollision(int entityID, int state)
Setting advanced Collisions.
void setPathNodeIndex(int entityID, int nodeIndex)
Set the current node index the character should head towards on the currently set path...
void moveUp(int EntityID, int moveUpSpd)
Moves the character up/down by the arg speed.
void doStrafe(int EntityID, int state)
void ko(int entityID)
Sets the player to its knock out status and is provided to have more dynamic control over certain pla...
void setOffset(int entityID, float x, float y, float z)
Set the offset of the mesh that is moved by the capsule.
void setMoveDirection(int EntityID, float x, float y, float z)
void setPosition(int entityID, float x, float y, float z)
Sets the player position .
Definition: LUA_API_States.h:28
void followPath(int entityID, string pathName, float speed)
make the character controller action follow a path simply by calling this function in an update loop...
void getCollisionFlag(int EntityID)
A flag value that is returned from the system when this controller collides with an object...
int isFollowingPath(int entityID)
return whether the character is currently following a path.
void doJump(int EntityID, int force)
void enableGravity(int EntityID, state)
void setPathMaxTurn(int entityID, float maxTurn)
Set the speed of the turning rate for this character.
void setDimension(int entityID, float radius, float height)
Change the dimensions of a chatacter controller by passing radius and height.
void move(int EntityID, int Speed)
Moves the character by the arg speed.
void setGravity(int EntityID, float x, float y, float z)