Class containing data describing a Collision between two Shapes.
staticinlineget(overlap:Float, x:Float, y:Float):CollisionData
staticget_pool():Pool<CollisionData>
@:value(0)contact_count:Int = 0
@:value(Vector.fromArrayCopy([Vector2.zero, Vector2.zero]))finalcontacts:Vector<Vector2> = Vector.fromArrayCopy([Vector2.zero, Vector2.zero])
@:value(Vector2.zero)finalnormal:Vector2 = Vector2.zero
The normal vector (direction) of Shape A's penetration into Shape B.
@:value(0.)overlap:Float = 0.
The length of Shape A's penetration into Shape B.
@:value(false)read onlypooled:Bool = false
sa:Null<Shape>
Shape A.
sb:Null<Shape>
Shape B.
put():Void
inlineset(overlap:Float, x:Float, y:Float):Void