[ODE] Collision impact force
STenyaK <Bruno González>
stenyak at gmx.net
Tue Dec 21 15:56:28 MST 2004
On Tue, 21 Dec 2004 08:40:08 -0600 Tyler Streeter <tylerstreeter at gmail.com> wrote:
> Try using the dContactGeom's penetration depth variable.
>
> dContact c;
> dReal depth = c.geom.depth;
>
> I've used this for sound volume, and it seems to work pretty well.
> Note that the depth's range is dependent on other factors like ERP and
> CFM (thus, the step size is important), so if you change those things,
> you'll probably have to tweak how the penetration depth affects the
> sound volume.
Excuse my ignorance, but does contact depth really show the force of the impact, or just what it happened to be the relative position of the body at that point of time with that specific time step?
--
Saludos,
STenyaK
_______________________________________________
Site: http://kwh.iespana.es <KuantikalWareHouse>
http://motorsport-sim.org <Motorsport>
http://bashekas.v29.net <1kSurvivor>
Mail: stenyak AT gmx DOT net
More information about the ODE
mailing list