Type
RevoluteJoint
Functions
getType( ) Gets an integer representing the type.
getAnchors( ) Gets the anchor points of the joint
getReactionForce( ) Gets the reaction force on Body 2 at the joint anchor.
getReactionTorque( ) Gets the reaction torque on Body 2.
getCollideConnected( ) Gets whether the connected Bodies collide.
setCollideConnected( collide ) Sets whether the connected Bodies should collide with eachother.
getAngle( ) Get the current joint angle.
getSpeed( ) Get the current joint angle speed.
isMotorEnabled( ) Checks whether the motor is enabled.
getMaxMotorTorque( ) Gets the maximum motor torque.
getMotorSpeed( ) Gets the motor speed.
getMotorTorque( ) Get the current motor torque.
isLimitsEnabled( ) Checks whether limits are enabled.
getLowerLimit( ) Gets the lower limit.
getUpperLimit( ) Gets the upper limit.
getLimits( ) Gets the joint limits.
setMotorEnabled( motor ) Enables/disables the joint motor.
setMaxMotorTorque( torque ) Set the maximum motor torque.
setMotorSpeed( speed ) Sets the motor speed.
setLimitsEnabled( limit ) Enables/disables the joint limit.
setUpperLimit( upper ) Sets the upper limit.
setLowerLimit( lower ) Sets the lower limit.
setLimits( lower, upper ) Sets the limits.
destroy( ) Explicitly destroys the RevoluteJoint.
Copyright © 2006-2008 LÖVE Development Team.