Method b3CreateHullShape
- Namespace
- Box3D.Native
- Assembly
- Box3D.NET.Native.dll
b3CreateHullShape(b3BodyId, b3ShapeDef*, b3HullData*)
Create a convex hull shape and attach it to a body. The shape definition is fully cloned. Contacts are not created until the next time step.
public static extern b3ShapeId b3CreateHullShape(b3BodyId bodyId, b3ShapeDef* def, b3HullData* hull)Parameters
bodyIdb3BodyId-
See the Box3D documentation.
defb3ShapeDef*-
See the Box3D documentation.
hullb3HullData*-
See the Box3D documentation.
Returns
- b3ShapeId
-
the shape id for accessing the shape