public static Matrix4x4 GetEndTransform(this IAIPath path) => path.GetTransform(path.GetLength());
public static Matrix4x4 GetStartTransform(this IAIPath path) => path.GetTransform(0);