Collision Without Moving The Object

Hi guys, i wonder how can I detect collision between static and dynamic object BUT without moving the object. I mean every time there’s collision between object A and B (and the object B is dynamic), the object B would be always “pushed” a bit. I want to detect collision BUT without moving this object B, how to do that?

I have tried to change the object B type to static but then the script wouldn’t run if both objects are static. [import]uid: 114765 topic_id: 22350 reply_id: 322350[/import]

Change object A to :

isSensor = true

Perhaps? [import]uid: 84637 topic_id: 22350 reply_id: 89076[/import]

hi, do you mean adding {isSensor=true} inside the physics.addbody? It doesn’t work… [import]uid: 114765 topic_id: 22350 reply_id: 89079[/import]

Yeah that’s what I meant :slight_smile:

Could you put up a simple code sample of your issue? [import]uid: 84637 topic_id: 22350 reply_id: 89083[/import]