Difference between revisions of "Event.BEGIN CONTACT"

From GiderosMobile
Line 5: Line 5:
 
<translate>This event is dispatched when contact between box2d bodies begin.</translate>
 
<translate>This event is dispatched when contact between box2d bodies begin.</translate>
 
=== Parameters ===
 
=== Parameters ===
'''contact''': (b2.Contact) <translate>Contains instance of [[[b2.Contact]]] holding information about this collision</translate><br/>
+
'''contact''': (b2.Contact) <translate>Contains instance of [[b2.Contact]] holding information about this collision</translate><br/>
'''fixtureA''': (b2.Fixture) <translate>Contains instance of [[[b2.Fixture]]] of first colliding body</translate><br/>
+
'''fixtureA''': (b2.Fixture) <translate>Contains instance of [[b2.Fixture]] of first colliding body</translate><br/>
'''fixtureB''': (b2.Fixture) <translate>Contains instance of [[[b2.Fixture]]] of second colliding body</translate><br/>
+
'''fixtureB''': (b2.Fixture) <translate>Contains instance of [[b2.Fixture]] of second colliding body</translate><br/>

Revision as of 14:01, 23 August 2018

Available since: Gideros 2011.6
Value: beginContact

Description

This event is dispatched when contact between box2d bodies begin.

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