Hi Marco,
On 11/16/06, Marco Jez <[EMAIL PROTECTED]> wrote:
There is a good article on GameDev.net that explains how to do collision
detection between ellipsoids and polygons. I've used it to implement
viewer-world collision detection and it works fine:
http://www.gamedev.net/reference/articles/article1026.asp
The ray-polygon intersection test performed by osgUtil::IntersectVisitor is
not enough for this kind of collision detection (unless you can model the
collider as a point rather than as an ellipsoid).
Heh heh, neat little trick with transforming a sphere to ellipsoid.
All we need now is an EllipsoidIntersector ;-)
When the project I'm working on is finished I'll be able to release my CD
code as open source.
Oooh what a tease. I very much look forward to that day.
Any chance of it being a Christmas present?
Or fat free alternative to an Easter egg ;-)
Good luck with the project,
Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/