Expand description
Components related to physics dynamics (rigid-bodies, velocities, etc.)
Re-exports§
pub use self::soft_body::*;
Modules§
- soft_
body - Components describing soft bodies: deformable bodies made of particles linked by elastic constraints, simulated together with the rigid-bodies.
Structs§
- Additional
PgsIterations - Set the additional number of internal PGS iterations run at each substep for the simulation island containing this rigid-body.
- Additional
Solver Iterations - Set the additional number of solver substeps run for the simulation island containing this rigid-body.
- Allow
Fast Rotation - Allows the
RigidBodyto exceed the angular speed cap. - Ccd
- Enables full (“bullet”) Continuous-Collision-Detection for a
RigidBody. - Damping
- Damping factors to gradually slow down a
RigidBody. - Dominance
- The dominance groups of a
RigidBody. - External
Force - Constant external forces applied continuously to a
RigidBody. - External
Impulse - Instantaneous external impulse applied continuously to a
RigidBody. - Fixed
Joint - A fixed joint, locks all relative motion between two bodies.
- Fixed
Joint Builder - Create fixed joints using the builder pattern.
- Generic
Joint - The description of any joint.
- Generic
Joint Builder - Create generic joints using the builder pattern.
- Gravity
Scale - Gravity is multiplied by this scaling factor before it’s
applied to this
RigidBody. - Gyroscopic
Forces - Enables or disables gyroscopic forces on a
RigidBody. - Impulse
Joint - An impulse-based joint attached to two entities.
- Impulse
Joint Disabled - Marker component disabling the
ImpulseJointof its entity. - Impulse
Joint Impulses - The impulses applied by an
ImpulseJointduring the last simulation step. - Inverse
Kinematics Option - Options for the jacobian-based Inverse Kinematics solver for multibodies.
- Joint
Axes Mask - A bit mask identifying multiple degrees of freedom of a joint.
- Kinematic
Multibody Joint - Marker component making the
MultibodyJointof its entity kinematic. - Locked
Axes - Flags affecting the behavior of the constraints solver for a given contact manifold.
- Mass
Modified Event - Entity that likely had their mass properties changed this frame.
- Mass
Modified Message - Entity that likely had their mass properties changed this frame.
- Mass
Properties - Center-of-mass, mass, and angular inertia.
- Multibody
Joint - An joint based on generalized coordinates, attached to two entities.
- Multibody
Joint Armature - The per-DoF armature (reflected rotor inertia) of a
MultibodyJoint, indexed byJointAxis. - Multibody
Joint Coupling - A linear coupling between a degree of freedom of this
MultibodyJointand a degree of freedom of another joint of the same multibody. - Multibody
Joint Couplings - The couplings between the degrees of freedom of this
MultibodyJointand other joints of the same multibody. - Multibody
Joint Damping - The per-DoF viscous damping of a
MultibodyJoint, indexed byJointAxis. - Multibody
Joint Friction - The per-DoF dry friction of a
MultibodyJoint, indexed byJointAxis. - Multibody
Joint Springs - Passive springs acting on the degrees of freedom of a
MultibodyJoint, indexed byJointAxis. - Multibody
Joint State - The state of a
MultibodyJoint, written back after each simulation step. - Multibody
Self Contacts Disabled - Marker component disabling the contacts between the links of the multibody containing the rigid-body of its entity.
- Prismatic
Joint - A prismatic joint, locks all relative motion between two bodies except for translation along the joint’s principal axis.
- Prismatic
Joint Builder - Create prismatic joints using the builder pattern.
- Rapier
Impulse Joint Handle - The handle of an impulse joint added to the physics scene.
- Rapier
Multibody Joint Handle - The handle of a multibody joint added to the physics scene.
- Rapier
Rigid Body Handle - The Rapier handle of a
RigidBodythat was inserted to the physics scene. - Read
Mass Properties - Center-of-mass, mass, and angular inertia.
- Read
World Mass Properties - World-space and locked-axes-aware mass properties of a
RigidBody. - Revolute
Joint - A revolute joint, locks all relative motion except for rotation along the joint’s principal axis.
- Revolute
Joint Builder - Create revolute joints using the builder pattern.
- Rigid
Body Disabled - Indicates whether or not the
RigidBodyis disabled explicitly by the user. - Rope
Joint - A rope joint, limits the maximum distance between two bodies
- Rope
Joint Builder - Create rope joints using the builder pattern.
- Sleeping
- The activation status of a body.
- SoftCcd
- Sets the maximum prediction distance Soft Continuous Collision-Detection.
- Spherical
Joint - A spherical joint, locks all relative translations between two bodies.
- Spherical
Joint Builder - Create spherical joints using the builder pattern.
- Spring
Coefficients - Coefficients for a spring, typically used for configuring constraint softness for contacts and joints.
- Spring
Joint - A spring-damper joint, applies a force proportional to the distance between two objects.
- Spring
Joint Builder - A SpringJoint joint using the builder pattern.
- Transform
Interpolation - If the
TimestepMode::Interpolatedmode is set and this component is present, the associatedRigidBodywill have its position automatically interpolated between the last twoRigidBodypositions set by the physics engine. - Velocity
- The velocity of a
RigidBody.
Enums§
- Additional
Mass Properties - Mass-properties of a
RigidBody, added to the contributions of its attached colliders. - Coefficient
Combine Rule - Rules used to combine two coefficients.
- Joint
Axis - Identifiers of degrees of freedoms of a joint.
- Motor
Model - How motor stiffness/damping values are interpreted (mass-dependent vs mass-independent).
- Rigid
Body - A
RigidBody. - Typed
Joint - Wrapper enum over a specific joint.
Constants§
- JOINT_
DOFS - The number of degrees of freedom of a joint (3 in 2D, 6 in 3D).