Trait heron::rapier_plugin::rapier::ncollide::pipeline::narrow_phase::ProximityDetector[][src]

pub trait ProximityDetector<N>: Send + Sync + Any where
    N: RealField
{ pub fn update(
        &mut self,
        dispatcher: &(dyn ProximityDispatcher<N> + 'static),
        ma: &Isometry<N, U3, Unit<Quaternion<N>>>,
        a: &(dyn Shape<N> + 'static),
        mb: &Isometry<N, U3, Unit<Quaternion<N>>>,
        b: &(dyn Shape<N> + 'static),
        margin: N
    ) -> Option<Proximity>; }

Trait implemented by algorithms that determine if two objects are in close proximity.

Required methods

pub fn update(
    &mut self,
    dispatcher: &(dyn ProximityDispatcher<N> + 'static),
    ma: &Isometry<N, U3, Unit<Quaternion<N>>>,
    a: &(dyn Shape<N> + 'static),
    mb: &Isometry<N, U3, Unit<Quaternion<N>>>,
    b: &(dyn Shape<N> + 'static),
    margin: N
) -> Option<Proximity>
[src]

Runs the proximity detection on two objects. It is assumed that the same proximity detector (the same instance) is always used with the same pair of object.

Loading content...

Implementors

impl<N> ProximityDetector<N> for BallBallProximityDetector where
    N: RealField
[src]

impl<N> ProximityDetector<N> for CompositeShapeShapeProximityDetector<N> where
    N: RealField
[src]

impl<N> ProximityDetector<N> for PlaneSupportMapProximityDetector where
    N: RealField
[src]

impl<N> ProximityDetector<N> for SupportMapPlaneProximityDetector where
    N: RealField
[src]

impl<N> ProximityDetector<N> for SupportMapSupportMapProximityDetector<N> where
    N: RealField
[src]

Loading content...