Table of Contents

Method b3CreateBakedCompoundShape

Namespace
Box3D.Native
Assembly
Box3D.NET.Native.dll

b3CreateBakedCompoundShape(b3BodyId, b3ShapeDef*, b3CompoundData*)

Baked compound shapes are only allowed on static bodies. Note: runtime compounds are achieved by adding multiple shapes to a body. Runtime compounds can be dynamic and/or kinematic.

public static extern b3ShapeId b3CreateBakedCompoundShape(b3BodyId bodyId, b3ShapeDef* def, b3CompoundData* compound)

Parameters

bodyId b3BodyId

See the Box3D documentation.

def b3ShapeDef*

See the Box3D documentation.

compound b3CompoundData*

See the Box3D documentation.

Returns

b3ShapeId

See the Box3D documentation.