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

19.4.16 resetForces

self = physics.Body:resetForces()

Parameter

Type

Description

self

in physics.Body

The input Body

self

out physics.Body

The input Body is returned as the output

Zero both the force and torque accumulated on self.

Introduced in platform.apiLevel = '2.0'