[ODE] complex geometries
Michal Bacik
michal at lonelycatgames.com
Wed Mar 12 09:50:02 2003
Hi,
look at test examples, e.g. blockstack. There's a composite object made of 3
geoms, attached to single body.
This is done so, that all geoms generate contacts for the same body, so all
forces affect the body. When body moves/rotates, so do all the geoms.
It's a bit tricky to construct such body - you need to add masses, rotate
masses, etc, and finally you must offset all geoms (and actually geometry)
of the body so that center of mass is at (0, 0, 0) relative to body, because
ODE requires this so.
- michal
> -----Original Message-----
> From: ode-admin@q12.org [mailto:ode-admin@q12.org]On Behalf Of Christian
> Verbeek
> Sent: Wednesday, March 12, 2003 5:10 PM
> To: ode@q12.org
> Subject: [ODE] complex geometries
>
>
> dear mailinglist,
>
> i want to build a more complex geometry made up of several boxes and
> cylinders. this geometry should be handeld as a single body in my
> simulation.
> odes documentation tells me, that the fixed joint is not a good
> idea and that
> i should represent the sub-bodies as a single body.
>
> how do i do that? right now i have several bodies and geometry
> objects and my
> construction just falls to pieces.
>
> thanks for help, c.
> --
> -__________________________________________
> Dr. rer. nat. Dipl.-Phys. C. Verbeek
> email: christian.verbeek@ais.fraunhofer.de
> room: C2-214
> http://www.ais.fraunhofer.de/~verbeek
> phone: +49 2241 14 2057
> fax : +49 2241 14 2384
>
> _______________________________________________
> ODE mailing list
> ODE@q12.org
> http://q12.org/mailman/listinfo/ode
>