CharacterController

Undocumented in source.

Constructors

this
this(EventManager em, 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.
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.
update
void update(Time t)
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.
jumpSpeed
float jumpSpeed;
Undocumented in source.
maxVelocityChange
float maxVelocityChange;
Undocumented in source.
onGround
bool onGround;
Undocumented in source.
prevTransformation
Matrix4x4f prevTransformation;
Undocumented in source.
rbody
RigidBody rbody;
Undocumented in source.
sensor
ShapeComponent sensor;
Undocumented in source.
speed
float speed;
Undocumented in source.
world
PhysicsWorld world;
Undocumented in source.

Inherited Members

From EntityComponent

entity
Entity entity;
Undocumented in source.
update
void update(Time t)
Undocumented in source. Be warned that the author may not have intended to support it.
render
void render(GraphicsState* state)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta