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

19.11.15 totalImpulse

ivec = physics.Arbiter:totalImpulse()

Parameter

Type

Description

self

in physics.Arbiter

The input Arbiter

ivec

out physics.Vect

The vector impulse applied to resolve the collision

Returns the vector impulse that was applied during this step to resolve the collision.

Introduced in platform.apiLevel = '2.0'