Struct ncollide2d::narrow_phase::CompositeShapeShapeProximityDetector
[−]
[src]
pub struct CompositeShapeShapeProximityDetector<N> { /* fields omitted */ }
Proximity detector between a concave shape and another shape.
Methods
impl<N> CompositeShapeShapeProximityDetector<N>
[src]
pub fn new(flip: bool) -> CompositeShapeShapeProximityDetector<N>
[src]
Creates a new proximity detector between a concave shape and another shape.
Trait Implementations
impl<N: Real> ProximityDetector<N> for CompositeShapeShapeProximityDetector<N>
[src]
fn update(
&mut self,
dispatcher: &ProximityDispatcher<N>,
m1: &Isometry<N>,
g1: &Shape<N>,
m2: &Isometry<N>,
g2: &Shape<N>,
margin: N
) -> bool
[src]
&mut self,
dispatcher: &ProximityDispatcher<N>,
m1: &Isometry<N>,
g1: &Shape<N>,
m2: &Isometry<N>,
g2: &Shape<N>,
margin: N
) -> bool
Runs the proximity detection on two objects. It is assumed that the same proximity detector (the same structure) is always used with the same pair of object. Read more
fn proximity(&self) -> Proximity
[src]
The number of collision detected during the last update.