Point2d centerOfMass = new Point2d(0, 0);
for (Creature c : friends) {
centerOfMass.add(c.getLocation());
}
centerOfMass.scale(1.0/friends.size());
double directionToCOM = MathUtil.getDirectionTo(getLocation(), centerOfMass);
direction = (nearestFriend.direction + directionToCOM) / 2.0;
}