Expand description
Components, traits, and plugins related to collider functionality.
Structs§
- A collider used for detecting collisions and generating contacts.
- The Axis-Aligned Bounding Box of a collider.
- A plugin for handling generic collider backend logic.
- A component that will automatically generate
Collider
s on its descendants at runtime. The type of the generated collider can be specified usingColliderConstructor
. This supports computing the shape dynamically from the mesh, in which case only the descendants with aMesh
will have colliders generated. - Configuration for a specific collider generated from a scene using
ColliderConstructorHierarchy
. - A plugin for managing the collider hierarchy and related updates.
- A marker component for colliders. Inserted and removed automatically.
- A
QueryData
struct to make code handling colliders cleaner. - Automatically generated [
WorldQuery
] item type forColliderQuery
, returned when iterating over query results. - The transform of a collider relative to the rigid body it’s attached to. This is in the local space of the body, not the collider itself.
- A component that stores the entities that are colliding with an entity.
- A component that adds an extra margin or “skin” around
Collider
shapes to help maintain additional separation to other objects. This added thickness can help improve stability and performance in some cases, especially for thin shapes such as trimeshes. - A component that marks a
Collider
as a sensor, also known as a trigger. - Flags used for the preprocessing of a triangle mesh collider.
- Parameters controlling the VHACD convex decomposition.
Enums§
- A component that will automatically generate a
Collider
at runtime usingCollider::try_from_constructor
. Enabling thecollider-from-mesh
feature activates support for computing the shape dynamically from the mesh attached to the same entity. - Controls how the voxelization determines which voxel needs to be considered empty, and which ones will be considered full.
Traits§
- A trait that generalizes over colliders. Implementing this trait allows colliders to be used with the physics engine.
- A trait for creating colliders from other types.
- A trait for colliders that support scaling.