Difference between revisions of "B2.MouseJoint:setMaxForce"
From GiderosMobile
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
<languages /> | <languages /> | ||
− | ''' | + | '''Available since:''' Gideros 2011.6<br/> |
− | ''' | + | '''Class:''' [[Special:MyLanguage/b2.MouseJoint|b2.MouseJoint]]<br/> |
− | === | + | |
− | + | === Description === | |
− | Sets the maximum force in Newtons. | + | Sets the maximum force in Newtons. |
− | |||
<source lang="lua"> | <source lang="lua"> | ||
− | + | b2.MouseJoint:setMaxForce(force) | |
</source> | </source> | ||
− | === | + | |
− | '''force''': (number) | + | === Parameters === |
+ | '''force''': (number) the maximum force in Newtons <br/> | ||
+ | |||
+ | {{B2.MouseJoint}} |
Revision as of 19:02, 17 February 2020
Available since: Gideros 2011.6
Class: b2.MouseJoint
Description
Sets the maximum force in Newtons.
b2.MouseJoint:setMaxForce(force)
Parameters
force: (number) the maximum force in Newtons