Struct ncollide::narrow_phase::PlaneSupportMapContactGenerator [] [src]

pub struct PlaneSupportMapContactGenerator<P, M> where
    P: Point
{ /* fields omitted */ }

Collision detector between a plane and a shape implementing the SupportMap trait.

This detector generates only one contact point. For a full manifold generation, see IncrementalContactManifoldGenerator.

Methods

impl<P, M> PlaneSupportMapContactGenerator<P, M> where
    P: Point
[src]

[src]

Creates a new persistent collision detector between a plane and a shape with a support mapping function.

Trait Implementations

impl<P, M> Clone for PlaneSupportMapContactGenerator<P, M> where
    M: Clone,
    P: Clone + Point
[src]

impl<P, M> ContactGenerator<P, M> for PlaneSupportMapContactGenerator<P, M> where
    M: Isometry<P>,
    P: Point
[src]

[src]

Runs the collision detection on two objects. It is assumed that the same collision detector (the same structure) is always used with the same pair of object. Read more

[src]

The number of contacts generated the last update.

[src]

Collects the contacts generated during the last update.