made a ball move
[physics.git] / src / entityCreator.cpp
index aa5db0e..8ed35f4 100644 (file)
@@ -17,9 +17,9 @@ void creator::init()
 {
     Ball* ball;
 
-    // needs to be first for the overlap
     ball = new Ball(Vector2(50, 50), 20, cWhite);
 
+    ball->applyImpulse(Vector2(0.01,0.01)),
     Balls.push(ball);
     manager::add(ball);