public OverlapShapeInputCSharp() { transform = Physics2DCSharp.GetNewTransform(Vector2.Zero, 0f); aabb = new AABB(); }
public CollisionListenerCSharp(Physics2DCSharp physics2DControl) { _Physics2D = physics2DControl; }
public void SetAsBox(float width, float height) { shape = Physics2DCSharp.GetBoxShape(width, height, Vector2.Zero, 0f); }
public void SetAsPolygon(Vector2[] vertices) { shape = Physics2DCSharp.GetPolygonShape(vertices); }
public void SetAsCircle(float radius) { shape = Physics2DCSharp.GetCircleShape(radius, Vector2.Zero); }