Difference between revisions of "B2.FrictionJoint"

From GiderosMobile
(Created page with "__NOTOC__ '''Supported platforms:''' <br/> '''Available since:''' Gideros 2011.6<br/> === Description === <br /> Friction joint. This is used for top-down friction. It provide...")
 
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:
 
Friction joint. This is used for top-down friction. It provides 2D translational friction and angular friction. <br />
 
Friction joint. This is used for top-down friction. It provides 2D translational friction and angular friction. <br />
 
<br />
 
<br />
 +
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 
{|-
 
{|-
 
| style="width: 50%;"|
 
| style="width: 50%;"|
 
=== Methods ===
 
=== Methods ===
 +
[[b2.FrictionJoint:getMaxForce]] - returns the maximum friction force in N<br/>
 +
[[b2.FrictionJoint:getMaxTorque]] - returns the maximum friction torque in N*m<br/>
 +
[[b2.FrictionJoint:setMaxForce]] - sets the maximum friction force in N<br/>
 +
[[b2.FrictionJoint:setMaxTorque]] - sets the maximum friction torque in N*m<br/>
 
| style="width: 50%;"|
 
| style="width: 50%;"|
 
=== Events ===
 
=== Events ===
 
=== Constants ===
 
=== Constants ===
 
|}
 
|}

Revision as of 09:57, 23 August 2018

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

Description


Friction joint. This is used for top-down friction. It provides 2D translational friction and angular friction.






Methods

b2.FrictionJoint:getMaxForce - returns the maximum friction force in N
b2.FrictionJoint:getMaxTorque - returns the maximum friction torque in N*m
b2.FrictionJoint:setMaxForce - sets the maximum friction force in N
b2.FrictionJoint:setMaxTorque - sets the maximum friction torque in N*m

Events

Constants