CharacterController

Undocumented in source.

Constructors

this
this(PhysicsWorld world, Vector3f pos, float mass, Geometry geom)
Undocumented in source.

Members

Functions

calcJumpSpeed
float calcJumpSpeed(float jumpHeight)
Undocumented in source. Be warned that the author may not have intended to support it.
checkOnGround
bool checkOnGround()
Undocumented in source. Be warned that the author may not have intended to support it.
free
void free()
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.
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(bool clampY)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

artificalGravity
float artificalGravity;
Undocumented in source.
boundingSphereRadius
float boundingSphereRadius;
Undocumented in source.
direction
Vector3f direction;
Undocumented in source.
floorBody
RigidBody floorBody;
Undocumented in source.
jumpSpeed
float jumpSpeed;
Undocumented in source.
onGround
bool onGround;
Undocumented in source.
rbody
RigidBody rbody;
Undocumented in source.
speed
float speed;
Undocumented in source.
world
PhysicsWorld world;
Undocumented in source.

Meta