
Is this the intended behaviour or am i missing something
Is this correct?
love.physics.setMeter(meters)
love.physics.newRectangleShape(meters, meters, meters,meters)
Should i be using love.graphics.scale()?
This is for Löve 0.7.2 and earlier. It doesn't work in any recent version.
Code: Select all
body = love.physics.newBody(world, 300, 300, "dynamic") -- place the body at pixel coordinates (300,300) or in meter coordinates (10,10)
love.physics.setMeter(10) -- set 10 pixels/meter
body:getPosition() -- returns pixel coordinates (100,100)
Users browsing this forum: Ahrefs [Bot], Amazon [Bot], Google [Bot] and 5 guests