Skip to main content

shape_get_contact_data

Function shape_get_contact_data 

Source
pub fn shape_get_contact_data(
    world: &World,
    shape_id: ShapeId,
    capacity: usize,
) -> Vec<ContactData>
Expand description

Get the touching contact data for a shape. (b2Shape_GetContactData — returns a Vec instead of filling a caller array)