Method b3Body_SetMassData
- Namespace
- Box3D.Native
- Assembly
- Box3D.NET.Native.dll
b3Body_SetMassData(b3BodyId, b3MassData)
Override the body's mass properties. Normally this is computed automatically using the shape geometry and density. This information is lost if a shape is added or removed or if the body type changes.
public static extern void b3Body_SetMassData(b3BodyId bodyId, b3MassData massData)Parameters
bodyIdb3BodyId-
See the Box3D documentation.
massDatab3MassData-
See the Box3D documentation.