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.
addForceAtPos
void addForceAtPos(Vector3f f, Vector3f pos)
Undocumented in source. Be warned that the author may not have intended to support it.
addImpulse
void addImpulse(Vector3f deltaVelocity, Vector3f impulsePoint, double dt)
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
NewtonJoint* createUpVectorConstraint(Vector3f up)
Undocumented in source. Be warned that the author may not have intended to support it.
defaultCollisionCallback
void defaultCollisionCallback(NewtonRigidBody , NewtonRigidBody )
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.
isSensor
bool isSensor()
Undocumented in source. Be warned that the author may not have intended to support it.
onCollision
void onCollision(NewtonRigidBody otherBody)
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.
worldCenterOfMass
Vector3f worldCenterOfMass()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

collisionCallback
void delegate(NewtonRigidBody, NewtonRigidBody) collisionCallback;
Undocumented in source.
dynamic
bool dynamic;
Undocumented in source.
enableRotation
bool enableRotation;
Undocumented in source.
force
Vector3f force;
Undocumented in source.
gravity
Vector3f gravity;
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.
sensor
bool sensor;
Undocumented in source.
torque
Vector3f torque;
Undocumented in source.
transformation
Matrix4x4f transformation;
Undocumented in source.
world
NewtonPhysicsWorld world;
Undocumented in source.

Meta