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
PrismaticJoint
Restricts relative motion between Bodies to one shared axis.
Functions
getJointSpeed( )
Get the current joint angle speed.
getJointTranslation( )
Get the current joint translation.
getLimits( )
Gets the joint limits.
getLowerLimit( )
Gets the lower limit.
getMaxMotorForce( )
Gets the maximum motor force.
getMotorForce( )
Get the current motor force.
getMotorSpeed( )
Gets the motor speed.
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.
setMaxMotorForce( 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
Copyright © 2006-2010 LÖVE Development Team.
Visit Homepage
–
Ask a Question