Difference between revisions of "B2.FrictionJoint:setMaxForce"

From GiderosMobile
m (Text replacement - "</source" to "</syntaxhighlight")
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
 
=== Description ===
 
=== Description ===
 
Sets the maximum friction force in N.
 
Sets the maximum friction force in N.
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
b2.FrictionJoint:setMaxForce(force)
 
b2.FrictionJoint:setMaxForce(force)
</source>
+
</syntaxhighlight>
  
 
=== Parameters ===
 
=== Parameters ===

Latest revision as of 18: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