checkCollision method
Implementation
bool checkCollision(ObjectCollision component, {Vector2? displacement}) {
return _collisionConfig?.verifyCollision(
component.collisionConfig,
displacement: displacement,
) ??
false;
}