Simple question regarding gravity...

Post Reply
tmason
Posts: 19
Joined: Wed Aug 27, 2014 5:02 pm

Simple question regarding gravity...

Post by tmason »

Hello,

So I have the Bullet Physics engine up and running within my application and so far all looks good.

I do have a question about gravity; in my environment gravity works 100% but it is only a linear velocity applied for it; not natural acceleration.

So it seems like things operate in slow motion.

Any way to simulate natural gravity where things speed up as they fall?

Thank you for your time.
User avatar
drleviathan
Posts: 849
Joined: Tue Sep 30, 2014 6:03 pm
Location: San Francisco

Re: Simple question regarding gravity...

Post by drleviathan »

From my experience Bullet's gravity does accelerate over time. If your framerate is good but your objects are reaching a terminal velocity very quickly then I would guess that the friction from general motion is slowing them down (I bet Bullet has a default "air friction" effect). If this is true then the mass of your objects are probably too small and they fall like feathers. Try increasing the mass of your objects to see if the "air friction" term becomes negligible.
c6burns
Posts: 149
Joined: Fri May 24, 2013 6:08 am

Re: Simple question regarding gravity...

Post by c6burns »

Don't set any damping on your body and then it will simply continue accelerating.
Post Reply