h4mmur4b1
05-05-2010 13:24:39
Hi,
I've set up an scene where there's a box (Ogre3DBody) with a positive mass value and a CharacterController.
What I do us just moving the Chracter around the scene. When the character arrives at the box, this last one is applied a force. This means that the collision is being detected well and a force is also being applied well to the box, but I've realised this is done independently of shapes' mass.
I mean, If I change Ogre3DBody box mass and and Character's mass (I also tried recompiling NxOgre and setting mass to the Actor related to the CharacterController), nothing new happens because the collision seems to be the same.
Common sense tells me that the box should be moved slower by character at the same time its mass is incremented. But it is not working like this, because the visual effect of the force applied to the box seems to be always the same.
Any idea?
Thanks!
I've set up an scene where there's a box (Ogre3DBody) with a positive mass value and a CharacterController.
What I do us just moving the Chracter around the scene. When the character arrives at the box, this last one is applied a force. This means that the collision is being detected well and a force is also being applied well to the box, but I've realised this is done independently of shapes' mass.
I mean, If I change Ogre3DBody box mass and and Character's mass (I also tried recompiling NxOgre and setting mass to the Actor related to the CharacterController), nothing new happens because the collision seems to be the same.
Common sense tells me that the box should be moved slower by character at the same time its mass is incremented. But it is not working like this, because the visual effect of the force applied to the box seems to be always the same.
Any idea?
Thanks!