ekt
05-12-2006 23:56:45
there are times when it would be useful to postpone the contact creation. tipically if you want do some post processing/contact merging
how do you see this fitting in OgreODE? I'd imagine somthing like this:
how do you see this fitting in OgreODE? I'd imagine somthing like this:
- Geometry::collide should not call dJointCreateContact. OgreODE could simply fill a list of 'gathered potential contacts'[/*:m]
- The calling client would then process this list removing unwanted contacts or changing them (normal, depth etc)[/*:m]
- Finally the client would submit the modified list to OgreODE for dJointCreateContact[/*:m][/list:u]
I can't see a way of doing it without changing OgreODE internally and i would like to hear something from the bosses
here a thread on the ode mailing list where i got the advice on merging contacts (which would solve my real problem):
http://q12.org/pipermail/ode/2006-May/018670.html
http://q12.org/pipermail/ode/2006-May/018674.html
http://q12.org/pipermail/ode/2006-May/018677.html