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

19.4.8 force

fvec = physics.Body:force()

Parameter

Type

Description

self

in physics.Body

The input Body

fvec

out physics.Vect

The force vector on the Body

Returns the force vector on the body.

Introduced in platform.apiLevel = '2.0'