Ok it's a great news.
I also successfully solve my filter problem. The problem was the code which is used to know if two object should collide is
And in my mind it wasn't a "&&" but a "||". Finally I have decided to implement my own should collide method and it's works great 😉.
I think this library is a powerfull one but it's very difficult to get the hang of for noobs. So if I find some free times (Maybe I should stop sleeping.... lol) I'll make some tutorials or I'll try to improve the current documentation (because it is out of date).
Thanks a lot for all.
Regards,
Johann Fradj.
I also successfully solve my filter problem. The problem was the code which is used to know if two object should collide is
Code:
bool collide = (filterA.maskBits & filterB.categoryBits) != 0 && (filterA.categoryBits & filterB.maskBits) != 0;
And in my mind it wasn't a "&&" but a "||". Finally I have decided to implement my own should collide method and it's works great 😉.
I think this library is a powerfull one but it's very difficult to get the hang of for noobs. So if I find some free times (Maybe I should stop sleeping.... lol) I'll make some tutorials or I'll try to improve the current documentation (because it is out of date).
Thanks a lot for all.
Regards,
Johann Fradj.