return (new Vector2D(0, 0));
}
public Vector2D repulsiveForceWall(Vector2D wallVector) {
Vector2D thisVector = new Vector2D(getCenter());
double distance2 = thisVector.distance2(wallVector);
if (distance2 > 0) {
return thisVector.sub(wallVector).mul(G.EDGE_LENGTH_2).div(distance2).mul(10 * G.REPEL);
}
return (new Vector2D(0, 0));