The physics body for my ground is slightly higher than the image of the ground itself. Please note that this only occurs on iPad devices. How can I change this in a manner that it won’t affect the other sizes?
local groundShape = { -halfW \* 1.4, ground.height \* 0.32, halfW \* 1.4, ground.height \* 0.32, halfW \* 1.4, ground.height \* 0.52, -halfW \* 1.4, ground.height \* 0.52} physics.addBody( ground, "static", { friction=1, bounce = 0, shape=groundShape }) --This code creates the ground's physics body, halfW is display.contentCenterX
The attached screenshot shows what it looks like for the iPad device.
Thank you.