Jump to content
  • Advertisement
Sign in to follow this  
deathwearer

3d collision detection with dx?

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

Advertisement
Collision detection has nothing to do with rendering API (DirectX/OpenGL).
You should ask this question in Math and Physics forums.

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
DirectX isnt a rendering API, it also has sound, input, etc. Direct3D is rendering.

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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!