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

19.4.4 angVel

avel = physics.Body:angVel()

Parameter

Type

Description

self

in physics.Body

The input Body

avel

out number

The angular velocity of the Body in radians per unit time

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

Introduced in platform.apiLevel = '2.0'