Difference between revisions of "Event.BEGIN CONTACT"

From GiderosMobile
Line 4: Line 4:
 
'''<translate>Value</translate>:''' beginContact<br/>
 
'''<translate>Value</translate>:''' beginContact<br/>
 
'''<translate>Defined by</translate>:''' [[Special:MyLanguage/b2.World|b2.World]]<br/>
 
'''<translate>Defined by</translate>:''' [[Special:MyLanguage/b2.World|b2.World]]<br/>
 +
 
=== <translate>Descriptio</translate>n ===
 
=== <translate>Descriptio</translate>n ===
<translate>This event is dispatched when contact between box2d bodies begin.</translate>
+
This event is dispatched when contact between box2d bodies begin.
 +
 
 
=== <translate>Parameters</translate> ===
 
=== <translate>Parameters</translate> ===
 
'''contact''': (b2.Contact) <translate>Contains instance of [[Special:MyLanguage/b2.Contact|b2.Contact]] holding information about this collision</translate><br/>
 
'''contact''': (b2.Contact) <translate>Contains instance of [[Special:MyLanguage/b2.Contact|b2.Contact]] holding information about this collision</translate><br/>
 
'''fixtureA''': (b2.Fixture) <translate>Contains instance of [[Special:MyLanguage/b2.Fixture|b2.Fixture]] of first colliding body</translate><br/>
 
'''fixtureA''': (b2.Fixture) <translate>Contains instance of [[Special:MyLanguage/b2.Fixture|b2.Fixture]] of first colliding body</translate><br/>
 
'''fixtureB''': (b2.Fixture) <translate>Contains instance of [[Special:MyLanguage/b2.Fixture|b2.Fixture]] of second colliding body</translate><br/>
 
'''fixtureB''': (b2.Fixture) <translate>Contains instance of [[Special:MyLanguage/b2.Fixture|b2.Fixture]] of second colliding body</translate><br/>
 +
 +
{{B2.World}}

Revision as of 16:30, 18 February 2020


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

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





LiquidFun