{{newin|[[0.8.0]]|080|type=method}}
Sets a new speed for the motor.

== Function ==
=== Synopsis ===
<source lang="lua">
WheelJoint:setMotorSpeed( speed )
</source>
=== Arguments ===
{{param|number|speed|The new speed for the joint motor in radians per second.}}
=== Returns ===
Nothing.
== See Also ==
* [[parent::WheelJoint]]
* [[WheelJoint:getMotorSpeed]]
[[Category:Functions]]
{{#set:Description=Sets a new speed for the motor.}}
{{#set:Since=080}}
== Other Languages ==
{{i18n|WheelJoint:setMotorSpeed}}