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
.
The effects of air resistance can be reduced by streamlining the object, which will allow the moving object to go faster for the same thrust force.
If there is no air resistance, after you let go of an object the only force on it is the gravitational force. The gravitational force is proportional to the mass of the object. More massive objects have a greater gravitational force.
Air resistance occurs between the surface of a falling object and the air that surrounds it and it also works to slow the rate at which the object falls. Air resistance works with surface area, so the more surface area, the more air resistance. Think about when you drop two pieces of paper: one crumpled and one flat.
If air resistance is ignored , then there is no acceleration in horizontal direction in projectile motion. Hence the particle move with constant velocity in horizontal direction.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With