|
-
Aug 11th, 2002, 08:57 AM
#1
Thread Starter
Hyperactive Member
Direct3D Collision Detection
Ok, I've set down a scene using DirectX 8 object library. I've made some objects, and the movement is done by moving the camera view and rendering the scene.
How can I detect the collisions ? (where the camera is about to hit an object)
-
Aug 11th, 2002, 09:39 AM
#2
Good Ol' Platypus
The easiest way is a bounding box. Make a box that is the estimated size of your model, and then put the camera near the top. However, don't render this box. Use it to check for collision. There are several routines out there, and I regret that I can't give you one. You might want to do a google.
All contents of the above post that aren't somebody elses are mine, not the property of some media corporation. 
(Just a heads-up)
-
Aug 11th, 2002, 09:56 AM
#3
Thread Starter
Hyperactive Member
Thanks for the help in the two threads!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|