I have a space simulation, so obviously I don't want gravity or air resistance. Gravity was straight forward to turn off, but I can't find the equivalent for air resistance. I presume it's going to be on a body-by-body basis rather than a world wide setting like gravity.
Indeed I see on btSoftBody
that there are values for medium density like air_density
but I am using btRigidBody
.
There is no air resistance in bullet physics but there is damping
For every body you create you should set damping calling
body->setDamping(linear, angular);
set linear
to be 0