Results 1 to 3 of 3

Thread: Direct3D Collision Detection

  1. #1

    Thread Starter
    Hyperactive Member Gtarawneh's Avatar
    Join Date
    Mar 2002
    Location
    Unknown
    Posts
    382

    Question 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)

  2. #2
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    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)

  3. #3

    Thread Starter
    Hyperactive Member Gtarawneh's Avatar
    Join Date
    Mar 2002
    Location
    Unknown
    Posts
    382
    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
  •  



Click Here to Expand Forum to Full Width