NewtonRigidBody

Undocumented in source.

Constructors

this
this(NewtonCollisionShape shape, float mass, NewtonWorldManager world)
Undocumented in source.

Members

Functions

addForce
void addForce(Vector3 f)
Undocumented in source. Be warned that the author may not have intended to support it.
addForceAtPos
void addForceAtPos(Vector3 f, Vector3 pos)
Undocumented in source. Be warned that the author may not have intended to support it.
addTorque
void addTorque(Vector3 t)
Undocumented in source. Be warned that the author may not have intended to support it.
createUpVectorConstraint
void createUpVectorConstraint(Vector3 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(Vector3 v)
Undocumented in source. Be warned that the author may not have intended to support it.
velocity
Vector3 velocity()
Undocumented in source. Be warned that the author may not have intended to support it.
worldCenterOfMass
Vector3 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
Vector3 force;
Undocumented in source.
gravity
Vector3 gravity;
Undocumented in source.
mass
float mass;
Undocumented in source.
materialGroupId
int materialGroupId;
Undocumented in source.
newtonBody
NewtonBody* newtonBody;
Undocumented in source.
position
Vector4 position;
Undocumented in source.
raycastable
bool raycastable;
Undocumented in source.
rotation
Quaternion rotation;
Undocumented in source.
sensor
bool sensor;
Undocumented in source.
torque
Vector3 torque;
Undocumented in source.
transformation
Matrix4 transformation;
Undocumented in source.
world
NewtonWorldManager world;
Undocumented in source.

Meta