Difference between revisions of "B2.WheelJoint:setMotorSpeed"

From GiderosMobile
Line 2: Line 2:
 
'''Available since:''' Gideros 2011.6<br/>
 
'''Available since:''' Gideros 2011.6<br/>
 
=== Description ===
 
=== Description ===
<br />
+
<translate><br />
 
Sets the motor speed in radians per second. <br />
 
Sets the motor speed in radians per second. <br />
<br />
+
<br /></translate>
 
<source lang="lua">
 
<source lang="lua">
 
  b2.WheelJoint:setMotorSpeed(speed)
 
  b2.WheelJoint:setMotorSpeed(speed)
 
</source>
 
</source>
 
=== Parameters ===
 
=== Parameters ===
'''speed''': (number) motor speed in radians per second <br/>
+
'''speed''': (number) <translate>motor speed in radians per second</translate> <br/>

Revision as of 13:34, 23 August 2018

Available since: Gideros 2011.6

Description


Sets the motor speed in radians per second.

 b2.WheelJoint:setMotorSpeed(speed)

Parameters

speed: (number) motor speed in radians per second