CharacterController

Undocumented in source.

Constructors

this
this(Entity e, PhysicsWorld world, float mass, Geometry geom)
Undocumented in source.

Members

Functions

checkOnGround
bool checkOnGround()
Undocumented in source. Be warned that the author may not have intended to support it.
createSensor
ShapeComponent createSensor(Geometry geom, Vector3f point)
Undocumented in source. Be warned that the author may not have intended to support it.
enableGravity
void enableGravity(bool mode)
Undocumented in source. Be warned that the author may not have intended to support it.
jump
void jump(float height)
Undocumented in source. Be warned that the author may not have intended to support it.
jumpSpeed
float jumpSpeed(float jumpHeight)
Undocumented in source. Be warned that the author may not have intended to support it.
logicalUpdate
void logicalUpdate()
Undocumented in source. Be warned that the author may not have intended to support it.
move
void move(Vector3f direction, float spd)
Undocumented in source. Be warned that the author may not have intended to support it.
turn
void turn(float angle)
Undocumented in source. Be warned that the author may not have intended to support it.
update
void update(double dt)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

artificalGravity
float artificalGravity;
Undocumented in source.
clampY
bool clampY;
Undocumented in source.
direction
Vector3f direction;
Undocumented in source.
floorBody
RigidBody floorBody;
Undocumented in source.
floorNormal
Vector3f floorNormal;
Undocumented in source.
flyMode
bool flyMode;
Undocumented in source.
jSpeed
float jSpeed;
Undocumented in source.
maxVelocityChange
float maxVelocityChange;
Undocumented in source.
onGround
bool onGround;
Undocumented in source.
rbody
RigidBody rbody;
Undocumented in source.
rotation
Vector3f rotation;
Undocumented in source.
selfTurn
float selfTurn;
Undocumented in source.
sensor
ShapeComponent sensor;
Undocumented in source.
speed
float speed;
Undocumented in source.
world
PhysicsWorld world;
Undocumented in source.

Inherited Members

From EntityController

entity
Entity entity;
Undocumented in source.
update
void update(double dt)
Undocumented in source.

Meta