Difference between revisions of "B2.PrismaticJoint:enableMotor"

From GiderosMobile
Line 8: Line 8:
 
  b2.PrismaticJoint:enableMotor(flag)
 
  b2.PrismaticJoint:enableMotor(flag)
 
</source>
 
</source>
'''flag''': (boolean) enable flag of joint motor ''''''<br/>
+
=== Parameters ===
 +
'''flag''': (boolean) enable flag of joint motor <br/>

Revision as of 10:45, 23 August 2018

Available since: Gideros 2011.6

Description


Enables or disables the joint motor.

 b2.PrismaticJoint:enableMotor(flag)

Parameters

flag: (boolean) enable flag of joint motor