Sign in to follow this  

DX and ODE

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

This topic is 3860 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this