Object moves through wall with enough tilt

Hi,

I have created 4 static walls that surround my game, so that my object wont leave the screen. In the simulator everything works fine. However, when testing on an iPhone, the object gets stuck in the wall, and with enough tilt moves right through… I’ve tried 2 other threads with no luck, I’ve tried isBullet=true / isSleepingAllowed=false with no luck, I’ve tried e-mailing the support but the replies are always delayed 2-3 days… How do I go about fixing this??? My game is very depended on these walls and I assume many other games are also, there has to be a solution out there that I don’t know of…

My walls are set to static with 0 bounce and 9999 density

Thanks in advance,

I just noticed something big! If I control my object with accelerometer, and choose to control the objects x/y with the accelerometer, the object moves through walls. But if I use applyForce, and change the force with the accelerometer, the object wont move through the walls!

Is there any way to make it work even when changing the objects x/y?? [import]uid: 30185 topic_id: 6332 reply_id: 306332[/import]

Is this a bug?? [import]uid: 30185 topic_id: 6332 reply_id: 21943[/import]

could you share the applyForce method you use? thanks :slight_smile: [import]uid: 7116 topic_id: 6332 reply_id: 22344[/import]

local function movement()  
  
 local xAcceleration = event.yGravity  
 local yAcceleration = event.xGravity  
  
 -- Convert Input To Force  
 local xForce = (xAcceleration \* 21)  
 local yForce = (yAcceleration \* 21)  
  
 -- Apple Force To Ball  
 ball:applyForce(-xForce, -yForce)  
  
end  
Runtime:addEventListener("enterFrame", movement)  

Does nobody have a solution to this??? I’m really stuck on this issue and can’t publish to app store without solving it first… [import]uid: 30185 topic_id: 6332 reply_id: 22383[/import]

I had some similar problems, it helped to set the objects to kinematic [import]uid: 37688 topic_id: 6332 reply_id: 23557[/import]

Nope… Tried setting it to kinematic but that didn’t help either… [import]uid: 30185 topic_id: 6332 reply_id: 23646[/import]