Event.PRE SOLVE

From GiderosMobile
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
This page contains changes which are not marked for translation.


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

Description

This event is usually dispatched after Event.BEGIN_CONTACT and can be dispatched multiple times on each reaction between objects. Usually in this event you can cancel or modify collisions in other ways using event.contact object.

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





LiquidFun