Masspoint of OgreOde Body

Problems building or running the engine, queries about how to use features etc.
User avatar
stoneCold
OGRE Expert User
OGRE Expert User
Posts: 867
Joined: Fri Oct 01, 2004 9:13 pm
Location: Carinthia, Austria
x 1

Masspoint of OgreOde Body

Post by stoneCold »

This is the hierarchy I've got:

Code: Select all

OgreOde Body
-->TransformGeometry
---->Geometry
My problem is, that the mass point of the body maintains at the position where the body is connected to it's scenenode, but it should move to the "new" middle of the Geometry.

Is there anything I'm doing wrong, or is there any way to fix this.

Thx, stoneCold
User avatar
monster
OGRE Community Helper
OGRE Community Helper
Posts: 1098
Joined: Mon Sep 22, 2003 2:40 am
Location: Melbourne, Australia

Post by monster »

the center of mass is always at the center of the body, geometries don't have mass only bodies, you can cause the effect of a mass offset by offsetting the geometry in the opposite direction