DX and ODE

Started by
3 comments, last by rik_GT 16 years, 11 months ago
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
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?
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.
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
Thanks for the clarification guys :)

This topic is closed to new replies.

Advertisement