Contact.begin constructor

Contact.begin({
  1. required Shape shapeA,
  2. required Shape shapeB,
  3. required Vector2 normal,
  4. required List<ContactPoint> points,
})

Creates the contact for a begin-touch event.

Implementation

Contact.begin({
  required this.shapeA,
  required this.shapeB,
  required Vector2 this.normal,
  required List<ContactPoint> this.points,
}) : isSensorEvent = false;