[ODE] GeomTransform
Erwin de Vries
erwin at vo.com
Thu Jan 3 04:07:09 2002
To quote the docs: "T is inserted into a space and attached to a body as
though it was E. E itself must not be inserted into a space or attached to a
body."
The point is that E that is encapsulated by T actually doesnt have a body
itself, although there IS a body connected to it through T. How can i obtain
that body in the NearCallback? The best solution that i can think of is to
let the colliders fill in these bodies in the contact structure (along with
the geom pointers).
I havent actually made the changes, because i was lucky and my higher level
api helped my out on this, but i could make them if you please, so you can
see what i mean.
Erwin
----- Original Message -----
From: "Russ Smith" <russ@q12.org>
To: "Erwin de Vries" <erwin@vo.com>
Cc: <ode@q12.org>
Sent: Thursday, January 03, 2002 03:14
Subject: Re: [ODE] GeomTransform
>
> > I'm wondering what would be the best way to get the body of a
> > Geometry that is encapsulated by a GeomTransform.
> > ...
> > In this case dCollideSB will twice generate the corresponding bodies
> > correctly, but dCollideBB will not.
>
> i dont understand your problem. both dCollideSB and dCollideBB should
> fill in the dxGeom geom pointers the same way. can you elaborate on
> the problem, or post the changes you have made?
>
> russ.
>
> --
> Russell Smith
> http://www.q12.org
>
>