determine when an object slides

Post Reply
Rouslan
Posts: 1
Joined: Sat Aug 22, 2015 5:44 pm

determine when an object slides

Post 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.
Post Reply