NewtonCharacterComponent

Undocumented in source.

Constructors

this
this(NewtonPhysicsWorld world, Entity e, float height, float mass)
Undocumented in source.

Members

Functions

duck
void duck()
Undocumented in source. Be warned that the author may not have intended to support it.
eyePoint
Vector3f eyePoint()
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 speed)
Undocumented in source. Be warned that the author may not have intended to support it.
onSensorCollision
void onSensorCollision(NewtonRigidBody sensorBody, NewtonRigidBody otherBody)
Undocumented in source. Be warned that the author may not have intended to support it.
position
Vector3f position()
Undocumented in source. Be warned that the author may not have intended to support it.
unduck
void unduck()
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.
updateVelocity
void updateVelocity()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

eyeHeight
float eyeHeight;
Undocumented in source.
height
float height;
Undocumented in source.
lowerShape
NewtonSphereShape lowerShape;
Undocumented in source.
mass
float mass;
Undocumented in source.
onGround
bool onGround;
Undocumented in source.
prevTransformation
Matrix4x4f prevTransformation;
Undocumented in source.
radius
float radius;
Undocumented in source.
rbody
NewtonRigidBody rbody;
Undocumented in source.
sensorBody
NewtonRigidBody sensorBody;
Undocumented in source.
shape
NewtonCompoundShape shape;
Undocumented in source.
shapeRadius
float shapeRadius;
Undocumented in source.
targetVelocity
Vector3f targetVelocity;
Undocumented in source.
upperShape
NewtonSphereShape upperShape;
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