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

19.4.36 vel

vvel = physics.Body:vel()

Parameter

Type

Description

self

in physics.Body

The input Body

vvel

out physics.Vect

The velocity of the Body


Returns the vector velocity of the body.

Introduced in platform.apiLevel = '2.0'