[ODE] dBodyAddForceAtPos

LR logreg at free.fr
Sat Mar 17 07:48:49 MST 2007


huhu, i understand what appends ... the force i compute is along the normal of
the contact point ...

Then, for the sphere, force pass throught the sphere center !

sorry :)

LR


Selon "Jon Watte (ODE)" <hplus-ode at mindcontrol.org>:

> There is no difference between a box body and a sphere body except for
> the mass distribution.
> What is the mass (or, rather, inertia tensor) of the sphere when "it
> doesn't work" ?
>
> Also, adding a force that points straight towards/away from the center
> of gravity will add no torque.
>
> Cheers,
>
>           / h+
>
>
> LR wrote:
> > Hi,
> >
> > I've a question about dBodyAddForceAtPos:
> >
> > using dBodyAddForceAtPos on a box (box is centered to its body, body is
> centered
> > on its joint axis), makes the box rotates around its joint axis. It seems
> the
> > absolute force is decomposed to produce force AND torque ... (OK)
> >
> > Doing the same thing on a sphere does not produce any torque ...
> >
> > Is it notmal or i'm missing something ?
> >
> > Thank you for your help.
> >
> > LR
> >
> > (if my explains are not enaught, i can produce video )
> >
> >
> > --
> > _______________________________________________
> > ODE mailing list
> > ODE at ode.org
> > http://mooshika.org/mailman/listinfo/ode
> >
> >
> >
>


--


More information about the ODE mailing list