3d collision detection with dx?

Started by
3 comments, last by GameDev.net 18 years, 7 months ago
Does anyone has a tutorial or an article on how to detect collision with DX and a wall ( exemple ) made of vertices?
Advertisement
Collision detection has nothing to do with rendering API (DirectX/OpenGL).
You should ask this question in Math and Physics forums.
That is true Jnz86 but DX does actually have helper functions to collide rays with mesh data. Deathwearer - take a look at some of these functions in the DX SDK or MSDN they may be heplful:

D3DXBoxBoundProbe
D3DXComputeBoundingBox
D3DXComputeBoundingSphere
D3DXIntersect
D3DXIntersectSubset
D3DXIntersectTri
D3DXPlaneIntersectLine
------------------------See my games programming site at: www.toymaker.info
Sorry Jnz86, i tought it was specific of the API ( i have no knowledge of opengl ) since i guess they have different way to store access and render the stuff.

Thank Trip99 i took a look at these function and it's seem to be what i want or at least it put me on the right track.
DirectX isnt a rendering API, it also has sound, input, etc. Direct3D is rendering.

This topic is closed to new replies.

Advertisement