i trying to make it. I'm able to make rubbery like the pancake
i asked the developer. & he replied me this "The pancake is made of 6 elements in the corona(box2d) that are joined with pivot joints, limited from something like -15 to +15 degrees"
so i did the same took a pancake cut in six pieces and try to make it .but the problem is when my pancake get to edge , pivots are visible, the pancake is not curved like i the game. i used these parameters (i'm using: -friction, bounce, density & setLimitRotation) anything else? plz plz plz help me. i'm stuck at this from 3 days
my code is below :
local centerX = display.contentCenterX
local centerY = display.contentCenterY
local _W = display.contentWidth
local _H = display.contentHeight
local physics = require("physics")
display.setStatusBar( display.HiddenStatusBar )
-- The final "true" parameter overrides Corona's auto-scaling of large images
local background = display.newImage( "jungle_bkg.png", centerX, centerY, true )
when i keep distance it acts like a pancake but it starts to show jagged lines like it has been made up of tiny pieces, And when i decrease distance ( to remove lines) cake becomes straight? any help, please?