Ejemplo n.º 1
0
        public static Body createSolidArc(World world, float density, float radians, int sides, float radius, Vector2 position = new Vector2(), float rotation = 0, BodyType bodyType = BodyType.Static)
        {
            var body = createBody(world, position, rotation, bodyType);

            FixtureFactory.attachSolidArc(density, radians, sides, radius, body);

            return(body);
        }