Sign in to follow this  

Meshes and Collision detection

This topic is 4274 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, I'm writing a simple engine similar to an fps where my maps are stored as meshes in .X files. I'm able to load the map from file and move the camera around , but have no idea how to implement collision detection to prevent my camera from going through the walls. I thought about using a bounding sphere for my camera but am seriously stuck about how exactly to know if i'm running into a mesh. Any help will be most appreciated Thx

Share this post


Link to post
Share on other sites
This paper is the greatest thing ever made, also the paper uses a bounding ellipsoid...

Collision Paper

You'll have to implement some of it yourself, but the paper is very complete. If you have absolutly no clue where to go from there, read it again, otherwise have fun.
p.s., it's probably a good idea to partition your world to cull out triangles that would be imposible to collide with :)

EDIT: Fixed link - not prefixing 'http://' seems to confuse the forum software!

[Edited by - jollyjeffers on April 2, 2006 10:16:08 AM]

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
the link you posted doesnt work, it was just a joke or what???????

Share this post


Link to post
Share on other sites
Quote:
Original post by Stiffler
Sorry about the link, i don't know why it did that. Thanks a lot dmreichard for the fix :)
I fixed it up in your original post - you need to add http:// at the start, rather than just start with www. Not entirely sure why - but it's fairly common [smile]

hth
Jack

Share this post


Link to post
Share on other sites

This topic is 4274 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this