PhysicsRigidBody Class |
Namespace: Demo3D.Visuals
public class PhysicsRigidBody : PhysicsBody
The PhysicsRigidBody type exposes the following members.
| Name | Description | |
|---|---|---|
| Aabb |
The axis-aligned bounding box in world space.
(Inherited from PhysicsBody.) | |
| Active |
Whether the rigid body is active (not sleeping) in the world.
| |
| AngularDamping |
The fraction of the rigid body's angular speed that is lost per second.
| |
| AngularFactor |
The permitted world-space axes of rotation.
| |
| AngularSleepingThreshold |
The angular speed below which the rigid body may sleep.
| |
| AngularVelocity |
The angular velocity in world space.
| |
| Enabled |
Whether the physics body is enabled in the physics world.
(Inherited from PhysicsBody.) | |
| Geometry |
The physics collision geometry that belongs to the physics body.
(Inherited from PhysicsBody.) | |
| GravityEnabled |
Whether gravity affects the rigid body.
| |
| Groups |
A copy of the list of collision groups that are prescribed to the physics body.
(Inherited from PhysicsBody.) | |
| HasJoints |
Does this rigid body have any joints?
| |
| IsDisposed | (Inherited from PhysicsBody.) | |
| Joints |
The joints that affect the rigid body.
| |
| Kinematic |
Whether the body is kinematic.
| |
| LinearDamping |
The fraction of the rigid body's linear speed that is lost per second.
| |
| LinearFactor |
The permitted world-space axes of movement.
| |
| LinearSleepingThreshold |
The linear speed below which the rigid body may sleep.
| |
| LocalCenterOfMass |
The center of mass in local space.
| |
| LocalCenterOfMassOffset |
The center of mass offset in local space.
| |
| Mass |
The mass.
| |
| Position |
The world-space position for the physics body.
(Inherited from PhysicsBody.) | |
| Rotation |
The world-space rotation matrix for the physics body.
(Inherited from PhysicsBody.) | |
| Transform |
The world-space to local-space transformation matrix for the physics body.
(Inherited from PhysicsBody.) | |
| Velocity |
The linear velocity in world space.
| |
| Visual |
The parent visual.
(Inherited from PhysicsBody.) |
| Name | Description | |
|---|---|---|
| AddForce | Obsolete.
Applies the specified force to the rigid body's center of mass.
| |
| AddGroup |
Prescribes the specified collision group to the physics body.
(Inherited from PhysicsBody.) | |
| AddTorque | Obsolete.
Applies the specified angular force to the rigid body's center of mass.
| |
| ApplyForce(Vector3) |
Applies the specified force to the rigid body's center of mass.
| |
| ApplyForce(Vector3, Vector3) |
Applies the specified force to the point specified by the offset to
the rigid body's center of mass.
| |
| ApplyLocalForce(Vector3) |
Applies the specified force to the rigid body's center of mass.
| |
| ApplyLocalForce(Vector3, Vector3) |
Applies the specified force to the point specified by the offset to
the rigid body's center of mass.
| |
| ApplyLocalTorque |
Applies the specified angular force to the rigid body's center of mass.
| |
| ApplyTorque |
Applies the specified angular force to the rigid body's center of mass.
| |
| ContainsGroup |
Whether the physics body has been prescribed the specified collision group.
(Inherited from PhysicsBody.) | |
| Dispose | (Inherited from PhysicsBody.) | |
| Dispose(Boolean) | (Inherited from PhysicsBody.) | |
| RemoveGroup |
Unprescribes the specified collision group from the physics body.
(Inherited from PhysicsBody.) |