Difference between revisions of "WheelJoint:setMotorSpeed"

(Added WheelJoint:setMotorSpeed.)
 
m
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{newin|[[0.8.0]]|type=method}}
+
{{newin|[[0.8.0]]|080|type=method}}
 
Sets a new speed for the motor.
 
Sets a new speed for the motor.
  
Line 13: Line 13:
 
== See Also ==
 
== See Also ==
 
* [[parent::WheelJoint]]
 
* [[parent::WheelJoint]]
 +
* [[WheelJoint:getMotorSpeed]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Sets a new speed for the motor.}}
 
{{#set:Description=Sets a new speed for the motor.}}

Latest revision as of 13:48, 4 May 2012

Available since LÖVE 0.8.0
This method is not supported in earlier versions.

Sets a new speed for the motor.

Function

Synopsis

WheelJoint:setMotorSpeed( speed )

Arguments

number speed
The new speed for the joint motor in radians per second.

Returns

Nothing.

See Also


Other Languages