I have a car mesh and I can move it around in 3d world.
But how should I check for collisions whit the car and a wall?
Printable View
I have a car mesh and I can move it around in 3d world.
But how should I check for collisions whit the car and a wall?
3D collision detection is a theme for many books, and there are many.
The Game Programming Gems contain many articles on different ways to do collision detection.
I guess a search on Google would turn up lots of info. Try to search for
collision detection 3D
or
bounding sphere collision detection
or
octree collision detection
I've searched everywhere, gamedev.net, planet-source-code.com...
There isn't so many DirectX tutorials on the web huh?
Collision detection has nothing to do with DirectX.
Z.
Direct3D then.
Ah, never heard of it.
Hope it is about Direct3D, most tutorials I find is about OpenGL.
*sigh* Given that Direct3D is a part of DirectX, collision detection therefore has nothing to do with Direct3D, either.Quote:
Originally posted by petrus
Direct3D then.
Collision detection has nothing to do with any API or another. It is something that you have to implement specifically for your own game.
Z.
..........
I KNOW! My question is:
How do I perform Collision Detection between polygons in 3D space?
Was that a correct question, Zaei?
Google it. There are thousands of sites out there. Be prepared for some fun math, though.
Z.
But there is octrees (spelling?) and I don't understand what that is.
I've not found any tutorials about octrees(spelling?).
What is octrees(Again, spelling?)?
An OctTree is a space partitioning method. It only facilitates fast collision detection.
Z.
I think it's octree not octtree.
Octree makes no sense. Oct, as in Octal, for 8, Tree, as in... Tree... An OctTree is simply a tree that has 8 child nodes per node.Quote:
Originally posted by parksie
I think it's octree not octtree.
Z.
Google.
OctTree = 768 results.
Octree = 14,400 results.
:)
I don't see why Oc shouldn't stand for octal too.
And he said he couldnt find anything... *sigh*Quote:
Originally posted by parksie
Google.
OctTree = 768 results.
Octree = 14,400 results.
:)
GPG1 and 3D Game Engine Design both agree with you gentlemen *bows*.
Z.
And Qua could stand for Quadrilateral... Oc just doesnt sound right to my ears...Quote:
Originally posted by CornedBee
I don't see why Oc shouldn't stand for octal too.
=)
Z.
They call it that in the Game Programming Gems.
I know, I went and looked =).
Z.