Author: TheTutor
If you want to have any kind of simulation or realistic physics in your 3D application, you need to start with basic collision detection. This tutorial shows how to detect a collision between a ray and plane.
Functions/Methods Used: Direct3DCreate9(), D3DXCreateSphere(), D3DXCreateTorus(), assert(),
IDirect3D9:: CreateDevice(), Release()
IDirect3DDevice9:: BeginScene(), EndScene(), SetFVF(), DrawPrimitiveUP(), Clear(), Release()
purchase full version
Access EXE