Results 1 to 6 of 6

Thread: DX8 - Collision Detection

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jul 2002
    Posts
    118

    DX8 - Collision Detection

    Hi

    I am trying to implement collision detection in 3D using VB and DX8. The only help I have found so far is pretty tough to understand, also the SDK barely mentions it, could any1 help me wiv this 1 please?

    Thanks

    Dan

  2. #2
    Frenzied Member Zaei's Avatar
    Join Date
    Jul 2002
    Location
    My own little world...
    Posts
    1,710
    Collision detection between what and what?

    Z.

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Jul 2002
    Posts
    118
    Since I am at the planning stage I have options:

    BETWEEN

    (1) The camera (view).
    (2) An animated player. The camera would follow the player from behind. Also the camera would not go through walls even if the player turned so that his back faced a wall.

    AND

    Mainly flat surfaces although there will be a few shaped objects (such as sinks and toilets).

    I realise that option 2 is a little optimistic within the time that I have available but any knowledge on either option would be greatfully appreciated.

    Thanks

    Dan

  4. #4
    Frenzied Member Zaei's Avatar
    Join Date
    Jul 2002
    Location
    My own little world...
    Posts
    1,710
    Bounding Box collision detection is what you want. Simply bound each object with a box, and check to see if any point of the animated character's box is within any other box. If so, fix it =).

    Do some googling =).

    Z.

  5. #5

    Thread Starter
    Lively Member
    Join Date
    Jul 2002
    Posts
    118
    OK So I make an imaginery box around the camera pos and then make imaginery boxes around walls and things? Sounds much quicker than what I was thinking of implement which was on a per per vertex basis.

    Cheers

    Dan

  6. #6
    Frenzied Member Zaei's Avatar
    Join Date
    Jul 2002
    Location
    My own little world...
    Posts
    1,710
    That is pretty much it.

    Z.

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