Table of Contents

Method b3Shape_SetFilter

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

b3Shape_SetFilter(b3ShapeId, b3Filter, NativeBool)

Set the current filter. This is almost as expensive as recreating the shape.

public static extern void b3Shape_SetFilter(b3ShapeId shapeId, b3Filter filter, NativeBool invokeContacts)

Parameters

shapeId b3ShapeId

the shape

filter b3Filter

the new filter

invokeContacts NativeBool

if true then the shape will have all contacts recomputed the next time step (expensive)

Remarks

See b3ShapeDef::filter @see b3ShapeDef::filter