You are here: Lua Scripting Resources eGuide > Lua Scripting API Reference Guide > Physics Library > moment

19.4.14 moment

m = physics.Body:moment()

Parameter

Type

Description

self

in physics.Body

The input Body

m

out number

The moment of inertia of the Body


Returns the moment of inertia of the body.

Introduced in platform.apiLevel = '2.0'