[ODE] Knowing which triangles have collided with a sphere...

Oscar Gracian ogracian at hotmail.com
Sun Jul 18 07:01:39 MST 2004


Hello

I am doing a simple app (mini golf) but it requires to handle different 
frictions and different bounce for each materials, so I was wondering if is 
possible to retrive the collided triangles (using a TriMesh), so I can build 
the contacts using the correct parameters (friction, bounce, etc...).
I have tryied the int TriCallback(dGeomID TriMesh, dGeomID RefObject, int 
TriangleIndex) but it never gets called.

Thanks in advance,
Oscar

_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail



More information about the ODE mailing list