Difference between revisions of "PrismaticJoint:enableMotor"

(Added PrismaticJoint:enableMotor.)
 
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{newin|[[0.8.0]]|080|type=method}}
+
{{newin|[[0.8.0]]|080|type=function}}
 +
{{oldin|[[0.9.0]]|090|type=function|text=It has been renamed to [[PrismaticJoint:setMotorEnabled]]}}
 
Starts or stops the joint motor.
 
Starts or stops the joint motor.
  

Latest revision as of 06:10, 20 August 2014

Available since LÖVE 0.8.0
This function is not supported in earlier versions.
Removed in LÖVE 0.9.0
It has been renamed to PrismaticJoint:setMotorEnabled.

Starts or stops the joint motor.

Function

Synopsis

PrismaticJoint:enableMotor( enable )

Arguments

boolean enable
True to enable, false to disable.

Returns

Nothing.

See Also


Other Languages