DX and ODE
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
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?
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
HTH
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement