[−][src]Module oxygengine_physics_2d::prelude::ncollide2d::pipeline
Persistent and time-coherent collision detection.
Modules
broad_phase | Broad phases. |
glue | Glue code between each part of the collision-detection pipeline. |
narrow_phase | Persistent collision detection algorithms to compute contact points. |
object | Definition of collision objects and some of their properties. |
world | High level API to detect collisions in large, complex scenes. |
Structs
BallBallManifoldGenerator | Collision detector between two balls. |
BallBallProximityDetector | Proximity detector between two balls. |
BallConvexPolyhedronManifoldGenerator | Collision detector between two balls. |
BroadPhaseProxyHandle | |
CapsuleCapsuleManifoldGenerator | Collision detector between a concave shape and another shape. |
CapsuleShapeManifoldGenerator | Collision detector between a concave shape and another shape. |
CollisionGroups | Groups of collision used to filter which object interact with which other one. |
CollisionGroupsPairFilter | A collision filter based collision groups. |
CollisionObject | A stand-alone object that has a position and a shape. |
CollisionObjectSlab | A set of collision objects that can be indexed by collision object handles. |
CollisionObjectSlabHandle | The unique identifier of a collision object stored in a |
CollisionObjectUpdateFlags | Flags indicating what changed in a collision object since the last collision world update. |
CollisionObjects | An iterator yielding references to collision objects. |
CollisionWorld | A world that handles collision objects. |
CompositeShapeCompositeShapeManifoldGenerator | Collision detector between a concave shape and another shape. |
CompositeShapeShapeManifoldGenerator | Collision detector between a concave shape and another shape. |
CompositeShapeShapeProximityDetector | Proximity detector between a concave shape and another shape. |
ConvexPolyhedronConvexPolyhedronManifoldGenerator | |
DBVTBroadPhase | Broad phase based on a Dynamic Bounding Volume Tree. |
DefaultContactDispatcher | Collision dispatcher for shapes defined by |
DefaultProximityDispatcher | Proximity dispatcher for shapes defined by |
EventPool | A set of events. |
FirstInterferenceWithRay | Return structure for |
HeightFieldShapeManifoldGenerator | Collision detector between an heightfield and another shape. |
InteractionGraph | A graph where nodes are collision objects and edges are contact or proximity algorithms. |
InterferencesWithAABB | Iterator through all the objects on the world which bounding volume intersects a specific AABB. |
InterferencesWithPoint | Iterator through all the objects on the world that intersect a specific point. |
InterferencesWithRay | Iterator through all the objects on the world that intersect a specific ray. |
NarrowPhase | Collision detector dispatcher for collision objects. |
PlaneBallManifoldGenerator | Collision detector between g1 plane and g1 shape implementing the |
PlaneConvexPolyhedronManifoldGenerator | Collision detector between g1 plane and g1 shape implementing the |
PlaneSupportMapProximityDetector | Proximity detector between a plane and a shape implementing the |
ProximityEvent | Events occuring when two collision objects start or stop being in close proximity, contact, or disjoint. |
SupportMapPlaneProximityDetector | Proximity detector between a plane and a shape implementing the |
SupportMapSupportMapProximityDetector | Persistent proximity detector between two shapes having a support mapping function. |
Enums
ContactEvent | Events occuring when two collision objects start or stop being in contact (or penetration). |
GeometricQueryType | The kind of query a CollisionObject may be involved on. |
Interaction | An interaction between two collision objects. |
Traits
BroadPhase | Trait all broad phase must implement. |
BroadPhaseInterferenceHandler | Proximity handling for BroadPhase updates. |
BroadPhasePairFilter | A signal handler for contact detection. |
CollisionObjectHandle | Trait implemented by a handle indentifying a collision object. |
CollisionObjectRef | Trait implemented by collision objects. |
CollisionObjectSet | Trait implemented by sets of collision objects. |
ContactDispatcher | |
ContactManifoldGenerator | An algorithm to compute contact points, normals and penetration depths between two specific objects. |
ProximityDetector | Trait implemented by algorithms that determine if two objects are in close proximity. |
ProximityDispatcher |
Functions
create_proxies | Registers a collision object handle so it can be taken into acconut by the broad-phase and the narrow-phase. |
default_broad_phase | Allocate a default broad-phase, configured with a default coherence margin (set to 0.01). |
default_interaction_graph | Allocate a default interaction graph. |
default_narrow_phase | Allocate a default narrow-phase, configured with the default contact and proximity dispatchers. |
first_interference_with_ray | Returns an the closest collision object intersecting with the given ray. |
interferences_with_aabb | Returns an iterator yielding all the collision objects with an AABB intersecting with the given AABB. |
interferences_with_point | Returns an iterator yielding all the collision objects containing the given point. |
interferences_with_ray | Returns an iterator yielding all the collision objects intersecting with the given ray. |
perform_all_pipeline | Performs the broad-phase and the narrow-phase. |
perform_broad_phase | Performs the broad-phase. |
perform_narrow_phase | Performs the narrow-phase. |
remove_proxies | Free all the resources allocated by the broad-phase and the interaction graph for the given proxy handles. |
Type Definitions
BroadPhaseObject | Type of the broad phase trait-object used by the collision world. |
CollisionObjectGraphIndex | Index of a node of the interaction graph. |
ContactAlgorithm | |
ContactEvents | A set of contact events. |
ProximityAlgorithm | |
ProximityEvents | A set of proximity events. |
TemporaryInteractionIndex | Temporary index to and edge of the interaction graph. |