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

19.4.38 wLimit

wmax = physics.Body:wLimit()

Parameter

Type

Description

self

in physics.Body

The input Body

wmax

out number

The maximum angular velocity of the Body in radians per unit time

Returns the angular velocity limit of the body. The angular velocity is in radians per unit time.

Introduced in platform.apiLevel = '2.0'