object:resetMassData()

Type Function
Object Body
Library physics.*
Return value none
Revision 2017.3060
Keywords body, resetMassData
See also object.mass

Overview

If the default mass data for the body has been overridden, this function resets it to the mass calculated from the shapes.

Syntax

object:resetMassData()