I am making a breakout game in Android using the LibGDX version of Box2D. I have a ball that I am applying a force to with the following code...
getBody().applyForceToCenter(-10000000000.0f, -10000000000.0f);
This makes the ball move properly, but it never seems to gain a lot of speed (and I want to make it go super fast). I tried adding an accelerate method where I applied the force 40 times, but again it doesn't seem to move that fast. What is a good way to make a Body go "Super fast" in Box2D?
If there is acceleration I would like it to be as short as possible.
I tried adding the following....
World.setVelocityThreshold(1000000.0f);
But now the ball doesn't seem to "bounce" off walls, do I need to raise my restitution or something?