Fred Dech (fred++at++virtual.me.uic.edu)
Sat, 30 Mar 1996 13:42:39 -0600 (CST)
i'm trying to get a pointer to a DCS who's child node has been collided
with. i intersect the geometry and collect the results in a pfHit. that
part seems to be working correctly. when i'm interesecting an object in
the application, and i test against the scene graph, scene->isect() returns
1 and when i'm not interesting anything scene->isect() returns zero.
i can't figure out how to get at the DCS of the object i've hit.
neither PFQHIT_GSET nor PFQHIT_NODE queries seem to get me access
to what i'm looking for. i've tried various member functions on the
resulting pfGeode (e.g., getName(), getParent(), getNumParent()), but
i'm ivariably getting NULLs and 0s. i shouldn't be getting NULLs for
nodes that i've named and 0s for getParent(), should i?
what might i be doing wrong?
thanks in advance.
--fred
-- Fred Dech fred++at++virtual.me.uic.edu (312) 413-3619 Fax: (312) 413-0447
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:52:36 PDT