public ShapeCastInputNative() { transform = Physics2DNative.GetNewTransform(Vector2.Zero, 0f); _EndTransform = Physics2DNative.GetNewTransform(Vector2.Zero, 0f); aabb = new b2AABB(); _End = new b2AABB(); }
public void SetAsPolygon(Vector2[] vertices) { shape = Physics2DNative.GetPolygonShape(vertices); }
public void SetAsBox(float width, float height) { shape = Physics2DNative.GetBoxShape(width, height, Vector2.Zero, 0f); }
public void SetAsCircle(float radius) { shape = Physics2DNative.GetCircleShape(radius, Vector2.Zero); }
public OverlapShapeInputNative() { transform = Physics2DNative.GetNewTransform(Vector2.Zero, 0f); aabb = new b2AABB(); }
public CollisionListenerNative(Physics2DNative physics2DControl) { _Physics2D = physics2DControl; }