Module object

Source
Expand description

Objects that may be added to the physical world.

Structs§

ActivationStatus
The activation status of a body.
BodyPartHandle
A unique identifier of a body part added to the world.
BodyUpdateStatus
Collider
A geometric entity that can be attached to a body so it can be affected by contacts and proximity queries.
ColliderData
Data stored in each collider.
ColliderDesc
A non-deformable collider builder.
ColliderRemovalData
The data a collider set must return after a collider has been removed.
DefaultBodySet
The default set containing all the bodies added to the world.
DefaultColliderSet
The default set containing all the colliders added to the world.
DeformableColliderDesc
A deformable collider builder.
FEMSurface
A deformable surface using FEM to simulate linear elasticity.
FEMSurfaceDesc
A builder for FEMSurface bodies.
Ground
A singleton representing the ground.
MassConstraintSystem
A deformable surface using a mass-LengthConstraint model with triangular elements.
MassConstraintSystemDesc
A builder of a mass-constraint system.
MassSpringSystem
A deformable surface using a mass-spring model with triangular elements.
MassSpringSystemDesc
A builder for mass-spring systems.
Multibody
An articulated body simulated using the reduced-coordinates approach.
MultibodyDesc
A multibody builder.
MultibodyLink
One link of a multibody.
RigidBody
A rigid body.
RigidBodyDesc
The description of a rigid body, used to build a new RigidBody.

Enums§

BodyPartMotion
BodyStatus
The status of a body.
ColliderAnchor
Description of the way a collider is attached to a body.

Traits§

Body
Trait implemented by all bodies supported by nphysics.
BodyDesc
A abstract body descriptor to be passed to the physics World to create a body.
BodyHandle
Trait auto-implemented for types that can be used as a Body handle.
BodyPart
Trait implemented by each part of a body supported by nphysics.
BodySet
Trait implemented by sets of bodies.
ColliderHandle
Trait auto-implemented for types that can be used as a Collider handle.
ColliderSet
Trait implemented by sets of colliders.

Type Aliases§

DefaultBodyHandle
The body handle used by the DefaultBodySet.
DefaultBodyPartHandle
The body part handle used by the DefaultBodySet.
DefaultColliderHandle
The collider handle used by the DefaultColliderSet.