Skip to main content

shapes_violate_margin

Function shapes_violate_margin 

Source
pub fn shapes_violate_margin(
    a: &CuCollisionShape,
    b: &CuCollisionShape,
    safety_margin: Length,
) -> bool
Expand description

Returns true if the signed distance between a and b is strictly less than safety_margin.