object:resetMassData()

Type Function
Object Body
Library physics.*
Return value none
Revision Release 2024.3703
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()