Module oxygengine_physics_2d::prelude::ncollide2d::pipeline
source · Expand description
Persistent and time-coherent collision detection.
Modules
- Broad phases.
- Glue code between each part of the collision-detection pipeline.
- Persistent collision detection algorithms to compute contact points.
- Definition of collision objects and some of their properties.
- High level API to detect collisions in large, complex scenes.
Structs
- Collision detector between two balls.
- Proximity detector between two balls.
- Collision detector between two balls.
- Collision detector between a concave shape and another shape.
- Collision detector between a concave shape and another shape.
- Groups of collision used to filter which object interact with which other one.
- A collision filter based collision groups.
- A stand-alone object that has a position and a shape.
- A set of collision objects that can be indexed by collision object handles.
- The unique identifier of a collision object stored in a
CollisionObjectSlab
structure. - Flags indicating what changed in a collision object since the last collision world update.
- An iterator yielding references to collision objects.
- A world that handles collision objects.
- Collision detector between a concave shape and another shape.
- Collision detector between a concave shape and another shape.
- Proximity detector between a concave shape and another shape.
- Broad phase based on a Dynamic Bounding Volume Tree.
- Collision dispatcher for shapes defined by
ncollide_entities
. - Proximity dispatcher for shapes defined by
ncollide_entities
. - A set of events.
- Return structure for
first_interference_with_ray
- Collision detector between an heightfield and another shape.
- A graph where nodes are collision objects and edges are contact or proximity algorithms.
- Iterator through all the objects on the world which bounding volume intersects a specific AABB.
- Iterator through all the objects on the world that intersect a specific point.
- Iterator through all the objects on the world that intersect a specific ray.
- Collision detector dispatcher for collision objects.
- Collision detector between g1 plane and g1 shape implementing the
SupportMap
trait. - Collision detector between g1 plane and g1 shape implementing the
SupportMap
trait. - Proximity detector between a plane and a shape implementing the
SupportMap
trait. - Events occuring when two collision objects start or stop being in close proximity, contact, or disjoint.
- Proximity detector between a plane and a shape implementing the
SupportMap
trait. - Persistent proximity detector between two shapes having a support mapping function.
Enums
- Events occuring when two collision objects start or stop being in contact (or penetration).
- The kind of query a CollisionObject may be involved on.
- An interaction between two collision objects.
Traits
- Trait all broad phase must implement.
- Proximity handling for BroadPhase updates.
- A signal handler for contact detection.
- Trait implemented by a handle indentifying a collision object.
- Trait implemented by collision objects.
- Trait implemented by sets of collision objects.
- An algorithm to compute contact points, normals and penetration depths between two specific objects.
- Trait implemented by algorithms that determine if two objects are in close proximity.
Functions
- Registers a collision object handle so it can be taken into acconut by the broad-phase and the narrow-phase.
- Allocate a default broad-phase, configured with a default coherence margin (set to 0.01).
- Allocate a default interaction graph.
- Allocate a default narrow-phase, configured with the default contact and proximity dispatchers.
- Returns an the closest collision object intersecting with the given ray.
- Returns an iterator yielding all the collision objects with an AABB intersecting with the given AABB.
- Returns an iterator yielding all the collision objects containing the given point.
- Returns an iterator yielding all the collision objects intersecting with the given ray.
- Performs the broad-phase and the narrow-phase.
- Performs the broad-phase.
- Performs the narrow-phase.
- Free all the resources allocated by the broad-phase and the interaction graph for the given proxy handles.
Type Aliases
- Type of the broad phase trait-object used by the collision world.
- Index of a node of the interaction graph.
- A set of contact events.
- A set of proximity events.
- Temporary index to and edge of the interaction graph.