CharacterController

Undocumented in source.

Constructors

this
this(PhysicsWorld world, Vector3f pos, 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.
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.
move
void move(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(bool clampY)
Undocumented in source. Be warned that the author may not have intended to support it.
updateMatrix
void updateMatrix()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

artificalGravity
float artificalGravity;
Undocumented in source.
direction
Vector3f direction;
Undocumented in source.
localMatrix
Matrix4x4f localMatrix;
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.
speed
float speed;
Undocumented in source.
world
PhysicsWorld world;
Undocumented in source.

Meta