Skip to main content

create_contact

Function create_contact 

Source
pub fn create_contact(world: &mut World, shape_id_a: i32, shape_id_b: i32)
Expand description

WARNING: this should never fail to create a contact because the pair already exists in the pairSet. (b2CreateContact — C takes shape pointers; the Rust port takes shape ids.)