Table of Contents

Method b3DestroyShape

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

b3DestroyShape(b3ShapeId, NativeBool)

Destroy a shape. You may defer the body mass update which can improve performance if several shapes on a body are destroyed at once.

public static extern void b3DestroyShape(b3ShapeId shapeId, NativeBool updateBodyMass)

Parameters

shapeId b3ShapeId

See the Box3D documentation.

updateBodyMass NativeBool

See the Box3D documentation.

Remarks

See b3Body_ApplyMassFromShapes @see b3Body_ApplyMassFromShapes