Jump to content
  • Advertisement
Sign in to follow this  
webjeff

[ODE] Trimesh Problem

This topic is 4236 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello My trimesh doesn't collide with any other geoms in the same space. I have a simple box that I created a trimesh for. The pointers are valid and have checked I'm passing in the right stuff. I'm guessing it has to do with my nearCallback collision handler, but I'm not sure. Does anyone have any ideas? Thanks! Jeff. PS. I edited this because I originally wrote this on my cell. [Edited by - webjeff on January 30, 2007 4:43:17 PM]

Share this post


Link to post
Share on other sites
Advertisement
There is a bug in ode. You can't call dTriMeshClass by name, only by number. I submitted the bug to the mailing list, but no one ever replies to me.

if ( dGeomGetClass( geo ) == 7) {
cout << "type 7 (dTriMeshClass) geom..." << endl;
}

if ( dGeomGetClass( geo ) == dTriMeshClass ){
cout << "dTriMeshClass geom..." << endl;
}

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!