I wish to play sounds when things impacts.
How do I hook it?
I can detect when object velocity changes significantly but I think there must be a better way to do that.
Cheers
Hooking collisions
-
razer
- Posts: 82
- Joined: Sun Apr 04, 2010 10:08 pm
Re: Hooking collisions
I have some progress implementing
btCollisionObject::CF_CUSTOM_MATERIAL_CALLBACK
btCollisionObject::CF_CUSTOM_MATERIAL_CALLBACK