[ODE] static objects
apt at home.se
Sun Feb 20 14:07:27 MST 2005
> >I have a big trimesh with a vehicla driving on it, and I want to have
> > some stuff like houses on the trimesh, the houses should not be affected
> > by gravity or collide with the trimesh. But my vehicle should collide
> > both with the trimesh and the houses.
> Use geoms for buildings, trees or whatever and associate them to the static
> environment (BodyID = 0). This way, your vehicle will collide with them but
> they will not be affected by collisions or gravity.
> --Arturo Colorado
But how do I position and rotate geoms? Seems I must associate a body
with them to do that, then they will be affected by gravity and collide
with my big trimesh.
When i tested to create just a geom, my framerate dropped 40%,
and the geom was position at the origin.
All help appreciated.
More information about the ODE