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: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: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: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

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

PolygonShape:getPoints

PolygonShape:getPoints Get the local coordinates of the polygon's vertices. This function has a variable number of return values. It can be used in a nested fashion with love.graphics.polygon. Function Synopsis x1, y1, x2, y2, ... x8, y8 = PolygonShape:getPoints( ) Arguments None. Returns number x1 The x-component of the first vertex. number y1 The y-component of the first vertex. number x2 The x-component of the second vertex. number y2 The y-component of the second vertex. And so on,

PixelEffect:send

PixelEffect:send Available since LÖVE 0.8.0 This function is not supported in earlier versions. Sends one or more values to a special (extern) variable inside the pixel effect. Extern variables have to be marked using the extern keyword, e.g. extern number time; extern vec2 light_pos; extern vec4 colors[4]; The corresponding send calls would be effect:send("time", t) effect:send("light_pos", {light_x, light_y}) effect:send("colors", {r1, g1, b1, a1}, {r2, g2, b2, a2}, {r3, g3, b3, a3},

PixelEffect:getWarnings

PixelEffect:getWarnings Available since LÖVE 0.8.0 This function is not supported in earlier versions. Returns any warning messages from compiling the pixel effect code. This can be used for debugging your pixel effects if there's anything the graphics hardware doesn't like. Function Synopsis warnings = PixelEffect:getWarnings( ) Arguments None. Returns string warnings Warning messages (if any). See Also PixelEffect

ParticleSystem:update

ParticleSystem:update Updates the particle system; moving, creating and killing particles. Function Synopsis ParticleSystem:update( dt ) Arguments number dt The time (seconds) since last frame. Returns Nothing. See Also ParticleSystem

ParticleSystem:stop

ParticleSystem:stop Stops the particle emitter, resetting the lifetime counter. Function Synopsis ParticleSystem:stop( ) Arguments None. Returns Nothing. See Also ParticleSystem