From: Braden M. <br...@en...> - 2001-02-06 03:08:47
|
On Fri, 2 Feb 2001, Patrick AS Sinclair wrote: > I'm using the libVRML97 in my work but I need very simple object to > object collision detection. Basically, I want to check whether a point > is inside certain objects in the scene, such as Anchor nodes. Is there > an easy way to do this or do I have to calculate the bounding boxes > etc. and check whether the point is inside them myself? cks has done some work adding bounding boxes/spheres with the goal of adding object-avatar collision detection. I'm not sure how adaptable this work is to interobject collision detection; hopefully he'll chime in here. In any event, wiring OpenVRML to do interobject collisions is going to take some work. I'd definitely consider a patch to add such functionality. I think Contact and/or Cortona have implemented extensions for interobject collisions; it may be a good idea to model the interface after what they've done. -- Braden McDaniel It is hard to know if nothing is / http://endoframe.com actually nothing e-mail: br...@en... And thus difficult to know if a policy / Jabber: br...@ja... of doing nothing is successful -- Radiohead |