Difference between revisions of "B2.WeldJoint"

From GiderosMobile
Line 5: Line 5:
 
<br />
 
<br />
 
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 ===

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