NewtonRigidBody

Undocumented in source.

Constructors

this
this(NewtonCollisionShape shape, float mass, NewtonPhysicsWorld world, Owner o)

Undocumented in source.

Members

Functions

addForce
void addForce(Vector3f f)

Undocumented in source. Be warned that the author may not have intended to support it.

addTorque
void addTorque(Vector3f t)

Undocumented in source. Be warned that the author may not have intended to support it.

createUpVectorConstraint
void createUpVectorConstraint(Vector3f up)

Undocumented in source. Be warned that the author may not have intended to support it.

groupId
void groupId(int id)

Undocumented in source. Be warned that the author may not have intended to support it.

groupId
int groupId()

Undocumented in source. Be warned that the author may not have intended to support it.

isRaycastable
bool isRaycastable()

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.

velocity
void velocity(Vector3f v)

Undocumented in source. Be warned that the author may not have intended to support it.

velocity
Vector3f velocity()

Undocumented in source. Be warned that the author may not have intended to support it.

Variables

enableRotation
bool enableRotation;

Undocumented in source.

force
Vector3f force;

Undocumented in source.

gravity
Vector3f gravity;

Undocumented in source.

inertia
Vector3f inertia;

Undocumented in source.

mass
float mass;

Undocumented in source.

materialGroupId
int materialGroupId;

Undocumented in source.

newtonBody
NewtonBody* newtonBody;

Undocumented in source.

position
Vector4f position;

Undocumented in source.

raycastable
bool raycastable;

Undocumented in source.

rotation
Quaternionf rotation;

Undocumented in source.

torque
Vector3f torque;

Undocumented in source.

transformation
Matrix4x4f transformation;

Undocumented in source.

world
NewtonPhysicsWorld world;

Undocumented in source.

Meta