Old issue regarding Ray
adam-law opened this issue · 2 comments
adam-law commented
I'd like to "re-open" an old issue from Google Code, where a Box2d sensor blocks the ray casting used by box2dLights. The part of the code to return -1 in the callback when the Fixture is a sensor, is still commented out, hence the blockage.
While people could amend the source themselves, they'd have to do so on every release of box2dLights, which is obviously an inconvenience.
Edit: Just to let others know, filters set on the light via setContactFilter() works, but you'll have to set the the appropriate category / group / mask bits, for it work.
rinold commented
Think, we could add some global switch that can be used to turn on/off the sensors ignorance.
adam-law commented
thanks :)