Documentation
Introduction
Getting Started
Game Distribution
Config Files
License
Documentation Guide
Modules
love
love.audio
love.event
love.filesystem
love.graphics
love.image
love.joystick
love.keyboard
love.mouse
love.physics
love.sound
love.timer
Callbacks
love.joystickreleased
love.joystickpressed
love.load
love.update
love.draw
love.keypressed
love.keyreleased
love.mousepressed
love.mousereleased
love.run
Edit
Type
RevoluteJoint
Allow two Bodies to revolve around a shared point.
Created with
love.physics.newRevoluteJoint
.
Functions
getJointAngle( )
Get the current joint angle.
getJointSpeed( )
Get the current joint angle speed.
getLimits( )
Gets the joint limits.
getLowerLimit( )
Gets the lower limit.
getMaxMotorTorque( )
Gets the maximum motor force.
getMotorSpeed( )
Gets the motor speed.
getMotorTorque( )
Get the current motor force.
getUpperLimit( )
Gets the upper limit.
isLimitsEnabled( )
Checks whether limits are enabled.
isMotorEnabled( )
Checks whether the motor is enabled.
setLimits( lower, upper )
Sets the limits.
setLimitsEnabled( )
Enables/disables the joint limit.
setLowerLimit( lower )
Sets the lower limit.
setMaxMotorTorque( f )
Set the maximum motor force.
setMotorEnabled( enable )
Enables/disables the joint motor.
setMotorSpeed( s )
Sets the motor speed.
setUpperLimit( upper )
Sets the upper limit.
destroy( )
Explicitly destroys the Joint.
getAnchors( )
Get the anchor points of the joint.
getCollideConnected( )
Gets whether the connected Bodies collide.
getReactionForce( )
Gets the reaction force on Body 2 at the joint anchor.
getReactionTorque( )
Gets the reaction torque on Body 2.
getType( )
Gets an string representing the type.
setCollideConnected( collide )
Sets whether the connected Bodies should collide with eachother.
Supertypes
Joint
See Also
love.physics.newRevoluteJoint
Copyright © 2006-2010 LÖVE Development Team.
Visit Homepage
–
Ask a Question