19.4.30 setWLimit

self = physics.Body:setWLimit(limit)

Parameter

Type

Description

self

in physics.Body

The input Body

limit

in number

The maximum angular velocity of the Body

self

out physics.Body

The input Body is returned as the output

Updates the limit of the angular velocity of the body. Angular velocity is in radians per unit time.

Returns the Body.

Introduced in platform.apiLevel = '2.0'