Getting the gravity vector of a btRigidBody

daBrado
Posts: 11
Joined: Thu Oct 05, 2006 10:41 am

Getting the gravity vector of a btRigidBody

Post 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
daBrado
Posts: 11
Joined: Thu Oct 05, 2006 10:41 am

Post by daBrado »

Apparently getGravity() has been added to btRigidBody as of v2.14a.

Neat.

- Braden