Here is an alternative.
-
The actor component.
-
The CreateSphereComponent function:
-
The GetProjectedLocation function:
Result:
The idea is to clamp to mini maps radius actors that are outside the threshold (var goes from 0.0->1.0), then when inside just map the distance to the minimap radius to give the effect that its moving from border to center.
Hope it helps.