Function
love.physics.newRectangleShape( body, x, x, w, h, angle )
Synopsis
rectangle = love.physics.newRectangleShape( body, x, x, w, h, angle )
Arguments
body The Body to attatch the rectangle to.
x The x-component of the offset.
x The y-component of the offset.
w The width of the rectangle.
h The height of the rectangle.
angle The orientation of the rectangle (degrees).
Returns
PolygonShape A rectangular PolygonShape.
Copyright © 2006-2008 LÖVE Development Team.