B2.FrictionJoint:setMaxForce: Difference between revisions
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) | ||
</ | </syntaxhighlight> | ||
=== Parameters === | === Parameters === | ||
Latest revision as of 16: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