PolygonShape:validate

PolygonShape:validate Available since LÖVE 0.9.0 This function is not supported in earlier versions. Validates whether the PolygonShape is convex. Concave PolygonShapes cannot be used in love.physics. Function Synopsis convex = PolygonShape:validate() Arguments None. Returns boolean convex Whether the PolygonShape is convex. See Also PolygonShape

PrismaticJoint:enableLimit

PrismaticJoint:enableLimit Available since LÖVE 0.8.0 This function is not supported in earlier versions. Removed in LÖVE 0.9.0 It has been renamed to PrismaticJoint:setLimitsEnabled. Enables or disables the limits of the joint. Function Synopsis PrismaticJoint:enableLimit( enable ) Arguments boolean enable True to enable, false to disable. Returns Nothing. See Also PrismaticJoint

PrismaticJoint:enableMotor

PrismaticJoint:enableMotor Available since LÖVE 0.8.0 This function is not supported in earlier versions. Removed in LÖVE 0.9.0 It has been renamed to PrismaticJoint:setMotorEnabled. Starts or stops the joint motor. Function Synopsis PrismaticJoint:enableMotor( enable ) Arguments boolean enable True to enable, false to disable. Returns Nothing. See Also PrismaticJoint

PrismaticJoint:getAxis

PrismaticJoint:getAxis Available since LÖVE 0.10.2 This function is not supported in earlier versions. Gets the world-space axis vector of the Prismatic Joint. Function Synopsis x, y = PrismaticJoint:getAxis( ) Arguments None. Returns number x The x-axis coordinate of the world-space axis vector. number y The y-axis coordinate of the world-space axis vector. See Also PrismaticJoint love.physics.newPrismaticJoint

PrismaticJoint:getJointSpeed

PrismaticJoint:getJointSpeed Get the current joint angle speed. Function Synopsis s = PrismaticJoint:getJointSpeed( ) Arguments None. Returns number s Joint angle speed in meters/second. See Also PrismaticJoint

PrismaticJoint:getJointTranslation

PrismaticJoint:getJointTranslation Get the current joint translation. Function Synopsis t = PrismaticJoint:getJointTranslation( ) Arguments None. Returns number t Joint translation, usually in meters.. See Also PrismaticJoint

PrismaticJoint:getLimits

PrismaticJoint:getLimits Gets the joint limits. Function Synopsis lower, upper = PrismaticJoint:getLimits( ) Arguments None. Returns number lower The lower limit, usually in meters. number upper The upper limit, usually in meters. See Also PrismaticJoint

PrismaticJoint:getLowerLimit

PrismaticJoint:getLowerLimit Gets the lower limit. Function Synopsis lower = PrismaticJoint:getLowerLimit( ) Arguments None. Returns number lower The lower limit, usually in meters. See Also PrismaticJoint

PrismaticJoint:getMaxMotorForce

PrismaticJoint:getMaxMotorForce Gets the maximum motor force. Function Synopsis f = PrismaticJoint:getMaxMotorForce( ) Arguments None. Returns number f The maximum motor force, usually in N. See Also PrismaticJoint

PrismaticJoint:getMotorForce

PrismaticJoint:getMotorForce Returns the current motor force. Function Available since LÖVE 0.8.0 This variant is not supported in earlier versions. Synopsis force = PrismaticJoint:getMotorForce( invdt ) Arguments number invdt How long the force applies. Usually the inverse time step or 1/dt. Returns number force The force on the motor in newtons. Function Removed in LÖVE 0.8.0 This variant is not supported in that and later versions. Synopsis f = PrismaticJoint:getMotorForce( )