[ODE] which collision detection system is better?

Aras Pranckevicius nearaz at interamotion.com
Fri Jun 20 05:58:02 2003


> Assuming that there is no need for triangle-triangle collision detection,
> which collision detection system is better? the one provided by ODE or
> OPCODE?

These are different things...

OPCODE just detects touched triangles in mesh-something collision. So it's
just "interference detection" between 2 supplied primitives. It doesn't
manage your collidable objects, doesn't do space partition/hash/SAP (well,
1.3 has some SAP utils), etc.

ODE's collision system is a complete collision system (natively without mesh
support) that manages your collidables, detects colliding ones, finds
contact points, etc.


So these are different things and you can't compare them. All you can do
with OPCODE is plug it into ODE's collision system (and you'll get
tricollider), or into some other collision system (eg. your own). Or,
alternatively, for mesh collision support in ODE's collision system, you can
use OPCODE or some other interference detection library.


Aras Pranckevicius aka NeARAZ
http://www.gim.ktu.lt/nesnausk/nearaz/