Page 1 of 1

determine when an object slides

Posted: Sat Aug 22, 2015 6:15 pm
by Rouslan
I'm using bullet 2.83. How can I determine when an object slides? I'm trying to add sound effects to a game. I have managed to determine when collision (in the traditional sense) occurs by looping through the btManifoldPoint objects as described in http://bulletphysics.org/mediawiki-1.5. ... d_Triggers (and using the m_userPersistentData field to keep track of contacts and determine when they transitioned from not touching to touching), but sliding is not as straight-forward because I need to differentiate sliding from rolling.