Joaquin Casillas Melendez (jcasilla++at++glup.irobot.uv.es)
Mon, 26 Oct 1998 10:44:16 -0800
Well, that is exactly what I am doing. When all objects are loaded,
first I set the root node mask:
root->setTravMask(PFTRAV_ISECT, 0x1,
PFTRAV_SELF | PFTRAV_DESCEND, PF_SET);
and next:
sw->setTravMask(PFTRAV_ISECT, 0x0,
PFTRAV_SELF | PFTRAV_DESCEND, PF_SET);
I haven't got this running right yet. The aircraft model is attached to
a pfSwitch node, and have also tried with PFTRAV_SW_ALL. I think the
pfSwitch is not the problem.
Moreover, I have set a 0x0 mask to the root node in order to test the
intersection mask, and the aircraft keeps on doing intersections with
the database!.
The only way I have got the aircraft avoiding collision detection with
itself is trough traversal funcs ... for now. So I will be glad of
hearing about other suggestions.
-----------------------------------------------
Joaquin Casillas Melendez mailto:jcasilla++at++glup.irobot.uv.es
LISITT (ARTEC) Phone: +34 6 364 2253
Dept. Electr. & Informatics Addr: Poligono de la Coma s/n
University of Valencia Valencia (SPAIN)
This archive was generated by hypermail 2.0b2 on Tue Oct 27 1998 - 02:35:46 PST