Difference between revisions of "PrismaticJoint"

Line 7: Line 7:
 
}}
 
}}
 
== Functions ==
 
== Functions ==
{{#ask: [[Category:Functions]] [[parent::PrismaticJoint]] OR [[parent::Joint]] [[Since::<071]]
+
{{#ask: [[Category:Functions]] [[parent::PrismaticJoint||Joint]] [[Since::<071]]
 
| headers=hide
 
| headers=hide
 
| ?Description
 
| ?Description

Revision as of 17:25, 25 March 2011

Restricts relative motion between Bodies to one shared axis.

Constructors

love.physics.newPrismaticJointCreates a PrismaticJoint between two bodies.

Functions

Joint:destroyExplicitly destroys the Joint.
Joint:getAnchorsGet the anchor points of the joint.
Joint:getCollideConnectedGets whether the connected Bodies collide.
Joint:getReactionForceReturns the reaction force on the second body.
Joint:getReactionTorqueReturns the reaction torque on the second body.
Joint:getTypeGets a string representing the type.
Joint:setCollideConnectedSets whether the connected Bodies should collide with each other.
PrismaticJoint:getJointSpeedGet the current joint angle speed.
PrismaticJoint:getJointTranslationGet the current joint translation.
PrismaticJoint:getLimitsGets the joint limits.
PrismaticJoint:getLowerLimitGets the lower limit.
PrismaticJoint:getMaxMotorForceGets the maximum motor force.
PrismaticJoint:getMotorForceReturns the current motor force.
PrismaticJoint:getMotorSpeedGets the motor speed.
PrismaticJoint:getUpperLimitGets the upper limit.
PrismaticJoint:isLimitsEnabledChecks whether limits are enabled.
PrismaticJoint:isMotorEnabledChecks whether the motor is enabled.
PrismaticJoint:setLimitsSets the limits.
PrismaticJoint:setLimitsEnabledEnables/disables the joint limit.
PrismaticJoint:setLowerLimitSets the lower limit.
PrismaticJoint:setMaxMotorForceSet the maximum motor force.
PrismaticJoint:setMotorEnabledEnables/disables the joint motor.
PrismaticJoint:setMotorSpeedSets the motor speed.
PrismaticJoint:setUpperLimitSets the upper limit.

See Also


Other Languages