Пример #1
0
        public static Body createLineArc(World world, float radians, int sides, float radius, bool closed = false, Vector2 position = new Vector2(), float rotation = 0, BodyType bodyType = BodyType.Static)
        {
            var body = createBody(world, position, rotation, bodyType);

            FixtureFactory.attachLineArc(radians, sides, radius, closed, body);
            return(body);
        }