Difference between revisions of "B2.WeldJoint"

From GiderosMobile
(Created page with "__NOTOC__ '''Supported platforms:''' <br/> '''Available since:''' Gideros 2011.6<br/> === Description === <br /> A weld joint essentially glues two bodies together. A weld joi...")
 
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''Supported platforms:''' <br/>
+
'''Supported platforms:''' android, ios, mac, pc<br/>
 
'''Available since:''' Gideros 2011.6<br/>
 
'''Available since:''' Gideros 2011.6<br/>
 
=== Description ===
 
=== Description ===
Line 6: Line 6:
 
A weld joint essentially glues two bodies together. A weld joint may distort somewhat because the island constraint solver is approximate. <br />
 
A weld joint essentially glues two bodies together. A weld joint may distort somewhat because the island constraint solver is approximate. <br />
 
<br />
 
<br />
 +
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 
{|-
 
{|-
 
| style="width: 50%;"|
 
| style="width: 50%;"|
 
=== Methods ===
 
=== Methods ===
 +
[[b2.WeldJoint:getDampingRatio]] - returns damping ratio<br/>
 +
[[b2.WeldJoint:getFrequency]] - returns frequency in Hz<br/>
 +
[[b2.WeldJoint:setDampingRatio]] - sets damping ratio<br/>
 +
[[b2.WeldJoint:setFrequency]] - sets frequency in Hz<br/>
 
| style="width: 50%;"|
 
| style="width: 50%;"|
 
=== Events ===
 
=== Events ===
 
=== Constants ===
 
=== Constants ===
 
|}
 
|}

Revision as of 08:57, 23 August 2018

Supported platforms: android, ios, mac, pc
Available since: Gideros 2011.6

Description


A weld joint essentially glues two bodies together. A weld joint may distort somewhat because the island constraint solver is approximate.






Methods

b2.WeldJoint:getDampingRatio - returns damping ratio
b2.WeldJoint:getFrequency - returns frequency in Hz
b2.WeldJoint:setDampingRatio - sets damping ratio
b2.WeldJoint:setFrequency - sets frequency in Hz

Events

Constants