ODE Middleware

Thanks for the good word. I hope this code will make a good foundation for your work.

As for the BitMasks, the concept is simple (although, I had hard time grasping it at first as well). The names are, actually, irrelevant. They could as well be called value1 and value2 as far as I’m concerned :P. All you need to dig in order to use this mechanism is how the masks are calculated. So here’s the equation:

(cat1 AND col2) OR (cat2 AND col1)

If this is True, the two objects are meant to collide. if not – they don’t. That’s the whole philosophy ;). That’s why, in my code, I keep all masks the way I do – that allows me to easily do the calculation in memory for new masks or tweaking the existing ones.

If you want to find out more about it just check the manual here: ode.org/ode-latest-userguide.html