Method b3CreateWorld
- Namespace
- Box3D.Native
- Assembly
- Box3D.NET.Native.dll
b3CreateWorld(b3WorldDef*)
Create a world for rigid body simulation. A world contains bodies, shapes, and constraints. You may create up to 128 worlds. Each world is completely independent and may be simulated in parallel.
public static extern b3WorldId b3CreateWorld(b3WorldDef* def)Parameters
defb3WorldDef*-
See the Box3D documentation.
Returns
- b3WorldId
-
the world id.