Jump to content
  • Advertisement
Sign in to follow this  
rik_GT

DX and ODE

This topic is 4073 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

Hi Im in the process of starting a small game engine for my game and was thinking about abstracting ODE in the physics sub system. All meshes will be loaded by using DX's functionality (.x files) and I was wondering if I can test the collision between two meshes using ODE? Thanks

Share this post


Link to post
Share on other sites
Advertisement
You're not colliding meshes in ode, you're colliding invisible bodies that you can bind to meshes.

Umm, yeah you can test what you're doing, but what do you mean exactly by test?

Share this post


Link to post
Share on other sites
Quote:
Original post by chillypacman
You're not colliding meshes in ode, you're colliding invisible bodies that you can bind to meshes.

Umm, yeah you can test what you're doing, but what do you mean exactly by test?


Hey

The kind of tests i'll make will be when a laser collides with a ship or when a ship collides with another ship.

I just wasn't sure if you could bind a volume, say a box, to a mesh loaded by DX.

Share this post


Link to post
Share on other sites
The two aren't directly connected. You run your ODE simulation separately with boxes, spheres etc. and poll their positions/orientation at regular intervals. These values you then assing to your D3D meshes (or whatever one might be using).
HTH

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!