Moai SDK
1.5 revision 1 (MoaiEdition)
|
See Box2D documentation.
function getJointSpeed ( MOAIBox2DPrismaticJoint self )
self | ( MOAIBox2DPrismaticJoint ) |
See Box2D documentation.
function getJointTranslation ( MOAIBox2DPrismaticJoint self )
self | ( MOAIBox2DPrismaticJoint ) |
See Box2D documentation.
function getLowerLimit ( MOAIBox2DPrismaticJoint self )
self | ( MOAIBox2DPrismaticJoint ) |
See Box2D documentation.
function getMotorForce ( MOAIBox2DPrismaticJoint self )
self | ( MOAIBox2DPrismaticJoint ) |
See Box2D documentation.
function getMotorSpeed ( MOAIBox2DPrismaticJoint self )
self | ( MOAIBox2DPrismaticJoint ) |
See Box2D documentation.
function getUpperLimit ( MOAIBox2DPrismaticJoint self )
self | ( MOAIBox2DPrismaticJoint ) |
See Box2D documentation.
function isLimitEnabled ( MOAIBox2DPrismaticJoint self )
self | ( MOAIBox2DPrismaticJoint ) |
See Box2D documentation.
function isMotorEnabled ( MOAIBox2DPrismaticJoint self )
self | ( MOAIBox2DPrismaticJoint ) |
See Box2D documentation.
function setLimit ( MOAIBox2DPrismaticJoint self [, number lower, number upper ] )
self | ( MOAIBox2DPrismaticJoint ) |
lower | ( number ) Optional. in units, converted to meters. Default value is 0. |
upper | ( number ) Optional. in units, converted to meters. Default value is 0. |
See Box2D documentation.
function setLimitEnabled ( MOAIBox2DPrismaticJoint self [, boolean enabled ] )
self | ( MOAIBox2DPrismaticJoint ) |
enabled | ( boolean ) Optional. Default value is 'true' |
See Box2D documentation.
function setMaxMotorForce ( MOAIBox2DPrismaticJoint self [, number maxMotorForce ] )
self | ( MOAIBox2DPrismaticJoint ) |
maxMotorForce | ( number ) Optional. in kg * units / s^2, converted to N [kg * m / s^2]. Default value is 0. |
See Box2D documentation. If speed is determined to be zero, the motor is disabled, unless forceEnable is set.
function setMotor ( MOAIBox2DPrismaticJoint self [, number speed, number maxForce, boolean forceEnable ] )
self | ( MOAIBox2DPrismaticJoint ) |
speed | ( number ) Optional. in units/s converted to m/s. Default value is 0. |
maxForce | ( number ) Optional. in kg * units / s^2, converted to N [kg * m / s^2]. Default value is 0. |
forceEnable | ( boolean ) Optional. Default value is false. |
See Box2D documentation.
function setMotorEnabled ( MOAIBox2DPrismaticJoint self [, boolean enabled ] )
self | ( MOAIBox2DPrismaticJoint ) |
enabled | ( boolean ) Optional. Default value is 'true' |
See Box2D documentation.
function setMotorSpeed ( MOAIBox2DPrismaticJoint self [, number motorSpeed ] )
self | ( MOAIBox2DPrismaticJoint ) |
motorSpeed | ( number ) Optional. in units/s, converted to m/s. Default value is 0. |