hi,
How do you have a wall that allows you to pass some characters and block others with physics ?
I would do this :
local character=.... --can pass the wall physics.addBody( character, { density=1, friction=1, bounce=0.3,shape=pentagonShape } ) character.isFixedRotation = true local characterRed=... -- cannot pass the wall physics.addBody( characterRed, { density=1, friction=1, bounce=0.3,shape=pentagonShape } ) characterRed.isFixedRotation = true local wall = display.newRect(0, 20, 20, 460 ) physics.addBody( wall, "static", borderBodyElement )
thanks for your help 

