[Solved] Wrong Gravity Behavior between Actor and Body

almondega

30-01-2009 20:24:49

hi, i'm using a Body to attach a camera on it and move around the world
but, this camera has to jump (and fall according gravity)
the problem is that the Body falls down too slowly
and the Actors goes correctly (fallowing the acceleration of gravity)

look this sample: http://br.youtube.com/watch?v=RvBZ6NWqLSw

increase the gravity acceleration isnt a option, since i'm using the Physx values, 1 unity = 1 meter

am i missing some actorParam to do the camera work exactly as an actor?
tks :wink:

betajaen

30-01-2009 21:08:47

There has been some though that linear damping may be applied to gravity (when it shouldn't). I wonder if that is it.

almondega

30-01-2009 21:58:09

linear damping

perfect ^^
i was using it because i saw in some camera/body tutorial
now i disabled it and the gravity over the body is working now

tks a lot betajaen

betajaen

30-01-2009 23:13:28

No problem.

What I don't understand why linear damping; dampens gravity. It seems a little silly IMHO.

almondega

31-01-2009 21:32:59

your are right..

just a small question

actorParams.mMass = 8;

this means 80kg or 8kg ?
i remember read somewhere about the factor 1/10 for mass

betajaen

31-01-2009 22:06:55

It should be 8 kilograms, if your using the SI.