예제 #1
0
        public Body CreateSolidArc(float density, float radians, int sides, float radius, Vector2 position = new Vector2(), float rotation = 0, BodyType bodyType = BodyType.Static)
        {
            Body body = CreateBody(position, rotation, bodyType);

            body.CreateSolidArc(density, radians, sides, radius);

            return(body);
        }