Difference between revisions of "B2.FrictionJoint:setMaxForce"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
m (Text replacement - "</source" to "</syntaxhighlight")
 
Line 8: Line 8:
 
<syntaxhighlight lang="lua">
 
<syntaxhighlight lang="lua">
 
b2.FrictionJoint:setMaxForce(force)
 
b2.FrictionJoint:setMaxForce(force)
</source>
+
</syntaxhighlight>
  
 
=== Parameters ===
 
=== Parameters ===

Latest revision as of 17:23, 12 July 2023


Available since: Gideros 2011.6
Class: b2.FrictionJoint

Description

Sets the maximum friction force in N.

b2.FrictionJoint:setMaxForce(force)

Parameters

force: (number) the maximum friction force in N




LiquidFun