Page 1 of 1

love.physics scale problem

Posted: Wed Dec 10, 2014 10:30 am
by snoweee
Hi,

I dont know how to solve a problem.I have two objects:
-player who is an dynamic object
-ground who is a static object

If ground has a bigger surface and player collide then there will be a gap between them, also if ground is smaller than player then they will overlap.
it's working grate when both of them have the same width and height
i attached a .love file

i don;t know how to solve this problem :(

Re: love.physics scale problem

Posted: Wed Dec 10, 2014 11:31 am
by Azhukar
You're drawing your world wrong. See debugWorldDraw.lua included in this .love file.