Difference between revisions of "Event.BEGIN CONTACT"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2011.6<br/> === Description === This event is dispatched when contact between box2d bodies begin.")
 
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
'''Available since:''' Gideros 2011.6<br/>
 
'''Available since:''' Gideros 2011.6<br/>
 +
'''Value:''' beginContact<br/>
 
=== Description ===
 
=== Description ===
 
This event is dispatched when contact between box2d bodies begin.
 
This event is dispatched when contact between box2d bodies begin.
 +
=== Parameters ===
 +
'''contact''': (b2.Contact) Contains instance of `b2.Contact` holding information about this collision<br/>
 +
'''fixtureA''': (b2.Fixture) Contains instance of `b2.Fixture` of first colliding body<br/>
 +
'''fixtureB''': (b2.Fixture) Contains instance of `b2.Fixture` of second colliding body<br/>

Revision as of 10:45, 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