[ODE] Mass translation problems

Tim Rightnour root at garbled.net
Fri Dec 3 00:08:10 MST 2004


On 02-Dec-2004 Jon Watte wrote:
> The translation of a mass is not respected by a body. The center of mass is
> always at the center of the body. You have to instead translate your geom,
> typically using a GeomTransform. This is mentioned in the FAQ, by the way.

Is that really true?  In my simulation I use dMassTranslate(0, -5000, 0) to
translate the mass of my characters downwards.  I found that this caused the
objects to not topple over.  Removing this line allows the objects to topple. 
This is how I keep all my characters upright in the game.. and it seems to
work.. so what am I missing?

---
Tim Rightnour <root at garbled.net>
NetBSD: Free multi-architecture OS http://www.netbsd.org/
Genecys: Open Source 3D MMORPG: http://www.genecys.org/


More information about the ODE mailing list