static void InitShape() { Coefficients DefaultCoefficients = TimeWarp.Coefficients; List <IGeometry2D> goes = new List <IGeometry2D>(); List <Coefficients> coes = new List <Coefficients>(); Vector2D[] pods = Polygon2D.FromRectangle(2, 5); Vector2D[] mainhullp = Polygon2D.FromRectangle(3, 7); Vector2D[] subhullp = Polygon2D.FromRectangle(4, 2); goes.Add(new Polygon2D(new ALVector2D(MathHelper.PI + .7f, new Vector2D(-3, 2)), subhullp)); coes.Add(DefaultCoefficients); goes.Add(new Polygon2D(new ALVector2D(MathHelper.PI - .7f, new Vector2D(-3, -2)), subhullp)); coes.Add(DefaultCoefficients); goes.Add(new Polygon2D(new ALVector2D(MathHelper.PI, new Vector2D(-3, 3)), pods)); coes.Add(DefaultCoefficients); goes.Add(new Polygon2D(new ALVector2D(MathHelper.PI, new Vector2D(-3, -3)), pods)); coes.Add(DefaultCoefficients); goes.Add(new Polygon2D(new ALVector2D(MathHelper.PI, new Vector2D(0, 0)), mainhullp)); coes.Add(DefaultCoefficients); DefaultShape = new RigidBodyTemplate(.01f, 9.609863f, goes.ToArray(), coes.ToArray()); DefaultShape.BalanceBody(); DefaultShape.CalcInertiaMultiplier(.1f); }