RichAI should have in-place rotation

RichAI should handle in-place rotation since it already handles rotation while moving.

I added this as follows:
var rotationSpeedFactor = targetIsEndPoint ? Mathf.Clamp01(1.1f * slowdownFactor - 0.1f) : 1f;
if (deltaPosition != Vector2.zero)
{
RotateTowards(deltaPosition, rotationSpeed * rotationSpeedFactor * deltaTime);
}
else
{
Quaternion targetRotation = target.rotation;
if (rotationIn2D)
targetRotation *= Quaternion.Euler(90, 0, 0);
tr.rotation = Quaternion.RotateTowards(tr.rotation, targetRotation, rotationSpeed * deltaTime);
}

Hi

The RichAI script moves to a point, usually the rotation of the target object doesn’t correspond to the direction that one would want the AI to face at the end of the path. In some games this can make sense, but I haven’t implemented this in the RichAI script because I want to avoid feature creep.