avian3d::collision

Module collider

Source
Expand description

Components, traits, and plugins related to collider functionality.

Modules§

Structs§

Enums§

  • A component that will automatically generate a Collider at runtime using Collider::try_from_constructor. Enabling the collider-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 layer used for determining which entities should interact with each other. Physics layers are used heavily by CollisionLayers.
  • A trait for colliders that support scaling.
  • A simplified wrapper around AnyCollider that doesn’t require passing in the context for implementations that don’t need context