void BaseGridMovementComponent::OnPositionChanged(const Point3F& oldPos, const Point3F& newPos) { UpdateDirection(oldPos.To2D(), newPos.To2D()); }