B2.World:destroyJoint: Difference between revisions

From GiderosMobile
Created page with "__NOTOC__ '''Available since:''' Gideros 2011.6<br/> === Description === <br /> Destroy a joint. This may cause the connected bodies to begin colliding. <br /> <br /> <ul&g..."
 
No edit summary
Line 10: Line 10:
<br />
<br />
<source lang="lua">
<source lang="lua">
= b2.World:destroyJoint(joint,)
b2.World:destroyJoint(joint)
</source>
</source>
'''joint:''' (b2.Joint) joint to be destroyed ''''''<br/>
'''joint''': (b2.Joint) joint to be destroyed ''''''<br/>

Revision as of 09:17, 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)

'joint: (b2.Joint) joint to be destroyed '