[ODE] Moving ray geometry

Megan Fox shalinor at gmail.com
Fri May 13 13:46:47 MST 2005


Yes, all you have to do is attach the ray geom through a
GeomTransform, and you can independently specify the direction of the
ray and the orientation of the body.  This is how I implement my hover
repulsors, my AI sensors... everything interesting, really.

-Megan Fox

On 5/13/05, Matt Green <themattgreen at gmail.com> wrote:
> I'm trying to make a ray part of a composite object in order to check
> the distance of something in a specific direction from a local frame
> of reference in a body with total freedom of rotation (six degrees of
> freedom I think it's called). Anyway, when I add any other object to
> this composite it moves with the body, but a ray does not, it stays
> motionless even when the rest of the geoms in the body move. Can
> anybody please inform me whether it is possible to make a ray geom
> move, or will I have to attempt to muddle through using a cylinder or
> somesuch as a substitute(really don't want to do that. rays provide no
> nonsense penetration depth reporting)?
> 
> _______________________________________________
> ODE mailing list
> ODE at q12.org
> http://q12.org/mailman/listinfo/ode
>



More information about the ODE mailing list