Trouble with PolygonShape:GetPoints
Posted: Fri Apr 23, 2010 5:43 am
So I'm having trouble with PolygonShape:getPoints(). I'm trying to call the function like so:
The error I see is "Incorrect Parameter Type : Expected User Data"
Any suggestions? I should mention that even though I've been programming for several years, I am new to lua and love2d.
Code: Select all
love.graphics.polygon("fill", myShape:getPoints())
Any suggestions? I should mention that even though I've been programming for several years, I am new to lua and love2d.