B2.World:destroyJoint: Difference between revisions

From GiderosMobile
No edit summary
No edit summary
Line 2: Line 2:
'''Available since:''' Gideros 2011.6<br/>
'''Available since:''' Gideros 2011.6<br/>
=== Description ===
=== Description ===
<br />
<translate><br />
Destroy a joint. This may cause the connected bodies to begin colliding. <br />
Destroy a joint. This may cause the connected bodies to begin colliding. <br />
<br />
<br />
Line 8: Line 8:
&lt;li&gt;*Warning:** This function is locked during callbacks.&lt;/li&gt;<br />
&lt;li&gt;*Warning:** This function is locked during callbacks.&lt;/li&gt;<br />
&lt;/ul&gt;<br />
&lt;/ul&gt;<br />
<br />
<br /></translate>
<source lang="lua">
<source lang="lua">
  b2.World:destroyJoint(joint)
  b2.World:destroyJoint(joint)
</source>
</source>
=== Parameters ===
=== Parameters ===
'''joint''': (b2.Joint) joint to be destroyed <br/>
'''joint''': (b2.Joint) <translate>joint to be destroyed</translate> <br/>

Revision as of 12:33, 23 August 2018

Available since: Gideros 2011.6

Description


Destroy a joint. This may cause the connected bodies to begin colliding.

<ul>
<li>*Warning:** This function is locked during callbacks.</li>
</ul>

 b2.World:destroyJoint(joint)

Parameters

joint: (b2.Joint) joint to be destroyed