Re: Contact Algorithm

Posted by Damien André on
URL: http://granoo.326.s1.nabble.com/Contact-Algorithm-tp330p349.html

Hello,
Mr.Happy wrote
1. How can I access the current orientation of block 1 and block 2? Will this be in quaternion format?
Yes !

Mr.Happy wrote
2. Is there a way of accessing their current vertices' position or their corners' position?
Yes you can, you should take a look at the polyhedron class in libShape. But it's not easy.

Mr.Happy wrote
3. Can you let me know where the variable 'info.penetration' is calculated?
It comes from the EPA-GJK standard algorithm. Please take a look to the internet.

Mr.Happy wrote
4. Please let me know if you have any suggestions for calculating the contact volume.
Sorry, I have no idea

Good luck, Damien.