Event.POST SOLVE

From GiderosMobile
Revision as of 16:33, 18 February 2020 by MoKaLux (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Available since: Gideros 2011.6
Value: postSolve
Defined by: b2.World

Description

This event is dispatched after the reaction between box2d objects and contains some additional information which has been calculated, like, maximal impulse of collision in e.maxImpulse.

Parameters

contact: (b2.Contact) Contains instance of b2.Contact holding information about this collision
fixtureA: (b2.Fixture) Contains instance of b2.Fixture of first colliding body
fixtureB: (b2.Fixture) Contains instance of b2.Fixture of second colliding body
maxImpulse: (number) The maximal impulse (strength) of collision





LiquidFun