Draw a curve into a material from a spline in the scene

Hi everyone, I’m trying to implement a minimap. My player simply follows a spline in the game and all I want to do is draw a curve on the minimap that shows the path (from the spline) but I don’t have idea of how to achive it.

Widgets can Draw Spline during their onPaint, your job would be to provide an array of points and their direction.

minimap

If the map is, indeed, mini, you may be able to get away with drawing simple lines instead (or even singular points - depending on the size needed and how many points you’ve got, curvature may be imperceptible.

That doesn’t work, i forogt to say that is a diegetic interface, so it is visualized in game through a monitor.

a diegetic interface

Once you have it, use a Widget Retainer to push it into material. You can then display that material on pretty much anything you need.

visualized in game through a monitor.

Or use a Widget Component, could also work. Again, how to approach it depends on the details.


Or get crafty in the material directly:

image