From: Fred B. <fl...@ys...> - 2006-02-26 03:21:37
|
I was going to replace my own ray tracing code, to use GeomRay and collide, but I'm not sure how to get the GeomRay positioned and oriented. I wrote some simple code to create a matrix to orient the ray, but then when I go to position it: File "ccluster.py", line 511, in trace_root ray.setPosition(pstart) File "geomobject.pyx", line 135, in ode.GeomObject.setPosition ValueError: Cannot set a position on non-placeable geoms. ? What _should_ I be doing? |