AttachEdge() публичный статический Метод

public static AttachEdge ( Vector2 start, Vector2 end, Body body, object userData = null ) : Fixture
start Vector2
end Vector2
body FarseerPhysics.Dynamics.Body
userData object
Результат FarseerPhysics.Dynamics.Fixture
Пример #1
0
        public static Body CreateEdge(World world, Vector2 start, Vector2 end, object userData = null)
        {
            Body body = CreateBody(world);

            FixtureFactory.AttachEdge(start, end, body, userData);
            return(body);
        }
Пример #2
0
        public static Body CreateEdge(World world, Vector2 start, Vector2 end, DebugMaterial userData)
        {
            Body body = CreateBody(world);

            FixtureFactory.AttachEdge(start, end, body, userData);
            return(body);
        }
Пример #3
0
        public static FSBody CreateEdge(FSWorld world, FVector2 start, FVector2 end, object userData)
        {
            FSBody body = CreateBody(world);

            FixtureFactory.AttachEdge(start, end, body, userData);
            return(body);
        }
Пример #4
0
        public static Body CreateEdge(World world, Vector2 start, Vector2 end, PressPlay.FFWD.Components.Collider userData)
        {
            Body body = CreateBody(world);

            FixtureFactory.AttachEdge(start, end, body, userData);
            return(body);
        }
Пример #5
0
        public static Body CreateEdge(World world, Vector2 start, Vector2 end, object userData)
        {
            Body body = CreateBody(world);

            body.Geometry = BodyGeometryType.Edge;
            FixtureFactory.AttachEdge(start, end, body, userData);
            return(body);
        }