I'm basically trying to get when the players shape collides with another shape, I guess the world collision callback does this but does it take any arguments? I couldn't see them in the documentation if it did and I've tried retrieving them manually, it seems it takes 2 arguments, but I cannot identify what they are.
You misunderstood - unless I'm missing something - I mean ANY key as in any of them. Of course I could loop through every key in there but that would be tedious.
One last question
Is there a velocity limit in the physics engine? My falling boxes of doom seem to not go past a certain speed.
keynum = 0
function keypressed(k)
keynum = keynum + 1
end
function keyreleased(k)
keynum = keynum - 1
end
function isAnyKeyDown()
return keynum > 0
end
conman420 wrote:Is there a velocity limit in the physics engine? My falling boxes of doom seem to not go past a certain speed.