code-google-com / bullet

Automatically exported from code.google.com/p/bullet
0 stars 0 forks source link

setMassProps should adjust m_gravity #364

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

See 
http://bulletphysics.org/Bullet/phpBB3/viewtopic.php?f=9&t=4835

Add a line like 
m_gravity = acceleration * (btScalar(1.0) / m_inverseMass);

Original issue reported on code.google.com by erwin.coumans on 12 Mar 2010 at 7:09

GoogleCodeExporter commented 9 years ago

Fixed in latest trunk, see http://code.google.com/p/bullet/source/detail?r=2078

Original comment by erwin.coumans on 31 Mar 2010 at 8:50