Re: Contact Algorithm
Posted by Cédric Hubert on
URL: http://granoo.326.s1.nabble.com/Contact-Algorithm-tp330p338.html
The class that does the job is 'Standard' (in libCollision/Callback).
Locate the 'Standard<Physic::Body, Physic::Body>::ManageCollision(Physic::Body &, Physic::Body &, const Data &)' method, and adjust it according to your needs.
The bodies' volume is accessible from de1 and de2 arguments.