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

19.11.16 totalImpulseWithFriction

ivec = physics.Arbiter:totalImpulseWithFriction()

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. The calculated friction is taken into account.

Introduced in platform.apiLevel = '2.0'