Ellipsoid - Plane Collision
Hi everyone, in my engine i''m using Sphere - Plane collision detection to test if my camera is hitting a wall. It works great the problem is the sphere being equal in all dimensions, the taller I make the cameras sphere, the further away I''m hitting the wall.
I''ve heard that if I use an ellipsoid instead I can scale the vertices somehow using the camera radii, and test for collisions using a unit sphere. How do I do this?
Thanks in advance.
Lukerd.
"To err is human, to really mess up requires a computer"
"To err is human, to really mess up requires a computer"
There are 2 great tutorials on elipsoid CD:
-Collision detection & Response by Telemachos
-Generic Collision Detection For Games Using Ellipsoids by Paul Nettle (http://www.fluidstudios.com/publications.html)
You should never let your fears become the boundaries of your dreams.
-Collision detection & Response by Telemachos
-Generic Collision Detection For Games Using Ellipsoids by Paul Nettle (http://www.fluidstudios.com/publications.html)
You should never let your fears become the boundaries of your dreams.
You should never let your fears become the boundaries of your dreams.
______________________________________________________________________________________The Phoenix shall arise from the ashes... ThunderHawk -- ¦þ"So. Any n00bs need some pointers? I have a std::vector<n00b*> right here..." - ZahlmanMySite | Forum FAQ | File Formats______________________________________________________________________________________
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement