Page 1 of 1

Getting the gravity vector of a btRigidBody

Posted: Wed Oct 11, 2006 5:31 am
by daBrado
Hi,

I was wondering, is it possible to get the current gravity vector from a given btRigidBody? I can't seem to find a public method or variable that would do so.

If not, should this be something to add to the btRigidBody interface?

Thanks,
Braden

Posted: Fri Oct 13, 2006 9:43 pm
by daBrado
Apparently getGravity() has been added to btRigidBody as of v2.14a.

Neat.

- Braden