[ODE] Static objects start rotating?
Beau Albiston
albiston at cynergy.com
Fri Aug 10 14:59:20 MST 2007
To search the archive, I use Google. For example, searching for the
keyword "joint," I put the following in the search edit field:
joint site:http://ode.org/pipermail/ode/
-Beau
James Frye wrote:
> I'm sure this must be a really dumb question, but I can't find an answer.
> (Apropos of which, it would
> be nice if there was some way to search the mailing list archives...)
>
> I create a very simple simulation, just a box sitting on the ground (Obj is
> a struct that holds all
> info about a body...)
>
> Obj->body = dBodyCreate (world);
> dBodySetPosition (Obj->body, 0.5, 2.0, 0.25);
>
> dMassSetBox (&m, 1.0, 0.5, 2.0, 0.5);
> dBodySetMass (Obj->body, &m);
>
> Obj->geom = dCreateBox (space, 0.5, 2.0, 0.5);
> dGeomSetBody (Obj->geoms, Obj->body);
>
> I run this with a basic simulation loop as copied from the examples. The box should just sit there
> doing nothing, but it begins a slow rotation around the Z axis. Why? What am I doing wrong?
>
> Thanks,
> James
>
> _______________________________________________
> ODE mailing list
> ODE at ode.org
> http://ode.org/mailman/listinfo/ode
>
> __________ NOD32 2450 (20070810) Information __________
>
> This message was checked by NOD32 antivirus system.
> http://www.eset.com
>
>
>
>
More information about the ODE
mailing list