isCollision method
Implementation
List<ObjectCollision> isCollision({
Vector2? displacement,
bool stopSearchOnFirstCollision = true,
}) {
if (!containCollision()) return [];
return _verifyWorldCollision(
displacement: displacement,
stopSearchOnFirstCollision: stopSearchOnFirstCollision,
);
}