Contact.begin constructor
Contact.begin({
- required Shape shapeA,
- required Shape shapeB,
- required Vector2 normal,
- 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;