Expand description
Components related to physics geometry (colliders, collision-groups, etc.)
Re-exports§
pub use self::shape_views::ColliderView;
Modules§
- shape_
views - Wrappers around Rapier shapes to access their properties.
Structs§
- Active
Collision Types - Flags affecting whether or not collision-detection happens between two colliders depending on the type of rigid-bodies they are attached to.
- Active
Events - Flags affecting the events generated for this
Collider. - Active
Hooks - Flags affecting the behavior of the constraints solver for a given contact manifold.
- Collider
- A geometric entity that can be attached to a
RigidBodyso it can be affected by contacts and intersection queries. - Collider
Disabled - Indicates whether or not the collider is disabled explicitly by the user.
- Colliding
Entities - Component which will be filled (if present) with a list of entities with which the current entity is currently in contact.
- Collision
Groups - Pairwise collision filtering using bit masks.
- Contact
Force Event Threshold - The total force magnitude beyond which a
ContactForceEventcan be emitted. - Contact
Skin - Sets the contact skin of the collider.
- Friction
- The friction affecting a
Collider. - Group
- A bit mask identifying groups for interaction.
- Point
Projection - Result of the projection of a point on a shape.
- Rapier
Collider Handle - The Rapier handle of a collider that was inserted to the physics scene.
- RayIntersection
- Structure containing the result of a successful ray cast.
- Restitution
- The restitution affecting a
Collider. - Sensor
- Indicates whether or not the
Collideris a sensor. - Shape
Cast Hit - The result of a shape cast.
- Shape
Cast HitDetails - In depth information about a shape-cast hit.
- Shape
Cast Options - Configuration for controlling the behavior of time-of-impact (i.e. shape-casting) calculations.
- Solver
Flags - Flags affecting the behavior of the constraints solver for a given contact manifold.
- Solver
Groups - Pairwise constraints resolution filtering using bit masks.
- TriMesh
Flags - Controls how a
TriMeshshould be loaded. - VHACD
Parameters - Parameters controlling the VHACD convex decomposition algorithm.
Enums§
- Collider
Mass Properties - Custom mass-properties of a
Collider. - Collider
Scale - Overwrites the default application of
GlobalTransformscale to aCollider’s shapes. - Fill
Mode - Controls how voxelization determines which voxels are filled vs empty.
- Shape
Cast Status - The status of the time-of-impact computation algorithm.
Functions§
- get_
snapped_ scale - We restrict the scaling increment to 1.0e-4, to avoid numerical jitter due to the extraction of scaling factor from the GlobalTransform matrix.