Function parry3d::query::contact::contact

source ·
pub fn contact(
    pos1: &Isometry<Real>,
    g1: &dyn Shape,
    pos2: &Isometry<Real>,
    g2: &dyn Shape,
    prediction: Real
) -> Result<Option<Contact>, Unsupported>
Expand description

Computes one pair of contact points point between two shapes.

Returns None if the objects are separated by a distance greater than prediction. The result is given in world-space.