float targetX = x2 - edgeVector.x() * collisionDistance;
float targetY = y2 - edgeVector.y() * collisionDistance;
//Base of the arrow
float baseX = targetX - edgeVector.x() * arrowHeight * 2f;
float baseY = targetY - edgeVector.y() * arrowHeight * 2f;
//Side vector
float sideVectorX = y1 - y2;
float sideVectorY = x2 - x1;
float norm = (float) Math.sqrt(sideVectorX * sideVectorX + sideVectorY * sideVectorY);