Difference between revisions of "Event.PRE SOLVE"
From GiderosMobile
Line 2: | Line 2: | ||
'''<translate>Available since</translate>:''' Gideros 2011.6<br/> | '''<translate>Available since</translate>:''' Gideros 2011.6<br/> | ||
'''<translate>Value</translate>:''' preSolve<br/> | '''<translate>Value</translate>:''' preSolve<br/> | ||
+ | '''<translate>Defined by</translate>:''' [[Special:MyLanguage/b2.World|b2.World]]<br/> | ||
=== <translate>Descriptio</translate>n === | === <translate>Descriptio</translate>n === | ||
− | <translate>This event is usually dispatched after | + | <translate>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 | + | Usually in this event you can cancel or modify collisions in other ways using `event.contact` object.</translate> |
=== <translate>Parameters</translate> === | === <translate>Parameters</translate> === | ||
− | '''contact''': (b2.Contact) <translate>Contains instance of | + | '''contact''': (b2.Contact) <translate>Contains instance of `b2.Contact` holding information about this collision</translate><br/> |
− | '''fixtureA''': (b2.Fixture) <translate>Contains instance of | + | '''fixtureA''': (b2.Fixture) <translate>Contains instance of `b2.Fixture` of first colliding body</translate><br/> |
− | '''fixtureB''': (b2.Fixture) <translate>Contains instance of | + | '''fixtureB''': (b2.Fixture) <translate>Contains instance of `b2.Fixture` of second colliding body</translate><br/> |
Revision as of 09:29, 24 August 2018
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