Box2D 2.3.0 sensors

Hi,

I've got some troubles with Box2D, I would like to drag and drop items in my game, so I've made an editor, when object is selected, I put it to "sensor mode", my object become a sensor. When user release his mouse, I put him back to an non-sensor element.

The problem is, my sensor didn't detect contacts:
- With Box2D 2.3.0 : no contacts
- With Box2D 2.2.1 : Only BeginContact was ok, I should "touch" another body in my scene to have an "EndContact" and a "BeginContact".

Is this a bug or it's a problem with the "sensor" mode I use?

Thanks!
What method are you using to move the bodies?
Are you doing a world Step call after moving to get the contact event to trigger?
Thanks for your response!

I'm using "setTransform" on the body and world step is call every frame.
Ok, I found the problem, I've just to disable sleeping bodies in the editor 🙂.

Original thread: https://box2d.org/forum/viewtopic.php?t=9562