Table of Contents

Method b3Body_ApplyMassFromShapes

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

b3Body_ApplyMassFromShapes(b3BodyId)

This updates the mass properties to the sum of the mass properties of the shapes. This normally does not need to be called unless you called SetMassData to override the mass and you later want to reset the mass. You may also use this when automatic mass computation has been disabled. You should call this regardless of body type.

public static extern void b3Body_ApplyMassFromShapes(b3BodyId bodyId)

Parameters

bodyId b3BodyId

See the Box3D documentation.