Difference between revisions of "B2.FrictionJoint:setMaxForce"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
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>
 
</source>

Revision as of 17:57, 12 July 2023


Available since: Gideros 2011.6
Class: b2.FrictionJoint

Description

Sets the maximum friction force in N. <syntaxhighlight lang="lua"> b2.FrictionJoint:setMaxForce(force) </source>

Parameters

force: (number) the maximum friction force in N




LiquidFun