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

19.4.37 vLimit

vmax = physics.Body:vLimit()

Parameter

Type

Description

self

in physics.Body

The input Body

vmax

out number

The maximum speed of the Body

Returns the speed limit of the body.

Introduced in platform.apiLevel = '2.0'