|
-
Sep 27th, 2002, 03:15 AM
#1
Thread Starter
Lively Member
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
-
Sep 27th, 2002, 06:10 AM
#2
Frenzied Member
Collision detection between what and what?
Z.
-
Sep 27th, 2002, 09:02 AM
#3
Thread Starter
Lively Member
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
-
Sep 27th, 2002, 05:31 PM
#4
Frenzied Member
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.
-
Sep 28th, 2002, 05:15 AM
#5
Thread Starter
Lively Member
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
-
Sep 28th, 2002, 06:40 AM
#6
Frenzied Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|