Difference between revisions of "Event.POST SOLVE"

From GiderosMobile
 
(7 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''Available since:''' Gideros 2011.6<br/>
+
<languages />
'''Value:''' postSolve<br/>
+
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
=== Description ===
+
'''<translate>Value</translate>:''' postSolve<br/>
This event is dispatched after the reaction between box2d objects and contains some additional information which has been calculated, like, maximal impulse of collision in `e.maxImpulse`.
+
'''<translate>Defined by</translate>:''' [[Special:MyLanguage/b2.World|b2.World]]<br/>
=== Parameters ===
+
 
'''contact''': (b2.Contact) Contains instance of `b2.Contact` holding information about this collision<br/>
+
=== <translate>Description</translate> ===
'''fixtureA''': (b2.Fixture) Contains instance of `b2.Fixture` of first colliding body<br/>
+
This event is dispatched after the reaction between box2d objects and contains some additional information which has been calculated, like, maximal impulse of collision in ''e.maxImpulse''.
'''fixtureB''': (b2.Fixture) Contains instance of `b2.Fixture` of second colliding body<br/>
+
 
'''maxImpulse''': (number) The maximal impulse (strength) of collision<br/>
+
=== <translate>Parameters</translate> ===
 +
'''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/>
 +
'''fixtureB''': (b2.Fixture) <translate>Contains instance of [[Special:MyLanguage/b2.Fixture|b2.Fixture]] of second colliding body</translate><br/>
 +
'''maxImpulse''': (number) <translate>The maximal impulse (strength) of collision</translate><br/>
 +
 
 +
{{B2.World}}

Latest revision as of 16:33, 18 February 2020


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

Description

This event is dispatched after the reaction between box2d objects and contains some additional information which has been calculated, like, maximal impulse of collision in e.maxImpulse.

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
maxImpulse: (number) The maximal impulse (strength) of collision





LiquidFun