b2CreateWorld

Function b2CreateWorld 

Source
pub unsafe extern "C" fn b2CreateWorld(
    def: *const b2WorldDef,
) -> b2WorldId
Expand description

Create a world for rigid body simulation. A world contains bodies, shapes, and constraints. You make create up to 128 worlds. Each world is completely independent and may be simulated in parallel. @return the world id.