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
shapeIdb3ShapeId-
the shape
filterb3Filter-
the new filter
invokeContactsNativeBool-
if true then the shape will have all contacts recomputed the next time step (expensive)
Remarks
See b3ShapeDef::filter @see b3ShapeDef::filter