Struct ncollide3d::query::TrackedContact[][src]

pub struct TrackedContact<N: Real> {
    pub contact: Contact<N>,
    pub kinematic: ContactKinematic<N>,
    pub id: GenerationalId,
}

A contact combined with contact kinematic information as well as a persistant identifier.

When ncollide is used to compute contact points between moving solids, it will attempt to match contact points found at successive frames. Two contact points are said to "match" if they can be seen as the same contact point that moved in-between frames. Two matching contact points are given the same id here.

Fields

The geometric contact information.

The local contact kinematic.

The identifier of this contact.

Methods

impl<N: Real> TrackedContact<N>
[src]

Creates a new tracked contact.

Trait Implementations

impl<N: Clone + Real> Clone for TrackedContact<N>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<N: Debug + Real> Debug for TrackedContact<N>
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<N> Send for TrackedContact<N> where
    N: Scalar

impl<N> Sync for TrackedContact<N> where
    N: Scalar