Hi everyone, I'm doing a test with libgdx & box2d.
I noticed that if a fixture is set as sensor, if there's no relative speed (either linear or angular) between the two fixtures, no contact is triggered.
i have a Dynamic body with velocities set to 0 being dragged by the user and another body set as sensor located in the world.
when the two fixtures overlap, nothing happens. if one of them has a angularvelocity, even slow (about 0.4 or more) or a linearvelocity, everything works as intended.
the problem disappears then the sensor flag is set to false.
does anyone have a workaround?
thanks.
I noticed that if a fixture is set as sensor, if there's no relative speed (either linear or angular) between the two fixtures, no contact is triggered.
i have a Dynamic body with velocities set to 0 being dragged by the user and another body set as sensor located in the world.
when the two fixtures overlap, nothing happens. if one of them has a angularvelocity, even slow (about 0.4 or more) or a linearvelocity, everything works as intended.
the problem disappears then the sensor flag is set to false.
does anyone have a workaround?
thanks.