I am new to box2D.
I m using the flash version and have worked with APE engine before.
I have gone through the manual and can work with it but i am having a problem adjusting gravity.
I am using a scale of 30 and a gravity of 10 as in the testbed)
But then i get a good gravity effect only when i m using an fps of 120.
If i lower the fps my blocks and circles come down floating.
To make the gravity stronger, i tried increasing gravity value and scale.
is it ok to use a scale of 100? Also what problems can it cause?
Also i get my desired gravity effect when i set gravity to 1000. But then all objects on ground keep shaking a bit (thats probably because of repetitive collision). Hence they do not sleep even if the are resting on a surface.
Is there anything else i can try to make the gravity more Earth-like. Or am i missing something ?
Also if i m doing everything right, then why is gravity built into the engine this way?
I m using the flash version and have worked with APE engine before.
I have gone through the manual and can work with it but i am having a problem adjusting gravity.
I am using a scale of 30 and a gravity of 10 as in the testbed)
But then i get a good gravity effect only when i m using an fps of 120.
If i lower the fps my blocks and circles come down floating.
To make the gravity stronger, i tried increasing gravity value and scale.
is it ok to use a scale of 100? Also what problems can it cause?
Also i get my desired gravity effect when i set gravity to 1000. But then all objects on ground keep shaking a bit (thats probably because of repetitive collision). Hence they do not sleep even if the are resting on a surface.
Is there anything else i can try to make the gravity more Earth-like. Or am i missing something ?
Also if i m doing everything right, then why is gravity built into the engine this way?