Ejemplo n.º 1
0
        public static Fixture CreateLoopShape(World world, Vertices vertices, float density, Vector2 position)
        {
            Body body = BodyFactory.CreateBody(world, position);

            return(CreateLoopShape(vertices, density, body));
        }
Ejemplo n.º 2
0
        public static Fixture CreateCircle(World world, float radius, float density, Vector2 position)
        {
            Body body = BodyFactory.CreateBody(world, position);

            return(CreateCircle(radius, density, body));
        }
Ejemplo n.º 3
0
        public static Fixture CreateEdge(World world, Vector2 start, Vector2 end)
        {
            Body body = BodyFactory.CreateBody(world);

            return(CreateEdge(start, end, body));
        }