[ODE] Geom transformations

Cristian Bianchi cristian at sssup.it
Mon Feb 16 17:11:05 MST 2004


Hi,
Simply use dGeomSetBody( geom, 0 ); to attach the geom to the static
environment, then use these 2 functions to place your geom:
dGeomSetPosition( geom,....)
dGeomSetRotation( geom, .... )
bye,
Cris

----- Original Message ----- 
From: "Joao Rangel" <jpgr at mega.ist.utl.pt>
To: <ode at q12.org>
Sent: Monday, February 16, 2004 4:13 PM
Subject: [ODE] Geom transformations


> Hi,
>
> I'm having a problem with ODE that I would like to ask for your help.
>
> I have a 3D object that, has no body, but has a box geom. It's an object
> which is static in the world, but that should be considered for
collisions.
>
> The problem is that i would like to translate/rotate that box geom, but
the
> translate/rotate operations are always applied to bodys only.
>
> Is there any way to do this?
>
> Thanks in advance,
> Joao Rangel
>
>
> _______________________________________________
> ODE mailing list
> ODE at q12.org
> http://q12.org/mailman/listinfo/ode
>



More information about the ODE mailing list