B2.FrictionJoint:setMaxForce: Difference between revisions
From GiderosMobile
No edit summary |
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. | ||
< | <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