//Create borders around the screen
this.createScreenBorders(physicsContainer);
//Createa circles
for (int i = 0; i < 20; i++) {
PhysicsCircle c = new PhysicsCircle(app, new Vector3D(ToolsMath.getRandom(60, mtApplication.width-60), ToolsMath.getRandom(60, mtApplication.height-60)), 50, world, 1.0f, 0.3f, 0.4f, scale);
MTColor col = new MTColor(ToolsMath.getRandom(60, 255),ToolsMath.getRandom(60, 255),ToolsMath.getRandom(60, 255));
c.setFillColor(col);
c.setStrokeColor(col);
PhysicsHelper.addDragJoint(world, c, c.getBody().isDynamic(), scale);
physicsContainer.addChild(c);
}
//Create rectangle
PhysicsRectangle physRect = new PhysicsRectangle(new Vector3D(100,300), 100, 50, app, world, 1f, 0.4f, 0.4f, scale);