jOan wrote:
I have a problem with pointsprite and Collision detection.

I'm building a pointSprite in the same way as in sample osgpointsprite ( osg::Geode with a Pointsprites stateset). I'd like to pick my object with an associated pointsprite stateset like in the osg-Picking example. I can not pick it !

Pointsprites are just points to the intersection algorithm and so suffer the same problem as picking lines i.e. they have no size. You have to use a swept sphere or something like it to pick a volume instead of a infinitely thin line.

There was a thread on the mailing list a while ago that might help you along.

Cheers,
/ulrich

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to