From: Chris B. <chr...@gm...> - 2006-02-27 10:50:21
|
On 27/02/06, Fred Burton <fl...@ys...> wrote: > > > According to the ode manual you should be using > > GeomRay.set(px,py,pz,dx,dy,dz) to set the position and direction. > > > > Hmm... > > ray.set takes two parameters > > (or some such) > > I've tried ray.set((px,py,pz,dx,dy,dz)) ... Use the source, Luke: (in geoms.pyx) cdef class GeomRay(GeomObject): ... def set(self, p, u): dGeomRaySet(self.gid, p[0],p[1],p[2], u[0],u[1],u[2]) ie. set() takes a pair of tuples (or lists), and calls dGeomRaySet with the contents. |