C# (CSharp) Box2DX.Dynamics Body.SetMassFromShapes - 19 examples found. These are the top rated real world C# (CSharp) examples of Box2DX.Dynamics.Body.SetMassFromShapes extracted from open source projects. You can rate examples to help us improve the quality of examples.
Compute the mass properties from the attached shapes. You typically call this after adding all the shapes. If you add or remove shapes later, you may want to call this again. Note that this changes the center of mass position.