PhysicsBody Class |
Namespace: Demo3D.Visuals
public class PhysicsBody : IDisposable
The PhysicsBody type exposes the following members.
| Name | Description | |
|---|---|---|
| Aabb |
The axis-aligned bounding box in world space.
| |
| Enabled |
Whether the physics body is enabled in the physics world.
| |
| Geometry |
The physics collision geometry that belongs to the physics body.
| |
| Groups |
A copy of the list of collision groups that are prescribed to the physics body.
| |
| IsDisposed | ||
| Position |
The world-space position for the physics body.
| |
| Rotation |
The world-space rotation matrix for the physics body.
| |
| Transform |
The world-space to local-space transformation matrix for the physics body.
| |
| Visual |
The parent visual.
|
| Name | Description | |
|---|---|---|
| AddGroup |
Prescribes the specified collision group to the physics body.
| |
| ContainsGroup |
Whether the physics body has been prescribed the specified collision group.
| |
| Dispose | Releases all resources used by the PhysicsBody | |
| Dispose(Boolean) | Releases the unmanaged resources used by the PhysicsBody and optionally releases the managed resources | |
| RemoveGroup |
Unprescribes the specified collision group from the physics body.
|