Skip to main content

shape_signed_distance

Function shape_signed_distance 

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

Computes the exact signed surface-to-surface distance between any two CuCollisionShape primitives.