I was overtaken by an unusual task when creating my game on UE 5.
I have an array of random fixed points in 2D space. Each of these points has a similar set of properties with different data. For simplicity, let’s imagine that each point has its own color.
We also have a Pawn that moves freely among these points.
The task - the closer Pawn is to a specific point, the stronger it takes its property, in our case the color, but at the same time the influence of the other points is preserved, simply because we are far from them, and close to one specifically - their influence is small, and the influence of the closest one is maximum (e.g. from 0 to 1).
I was thinking about the option with triangles and building a triangulation to fix the points in relation to each other, but I still don’t understand how I can correctly get the alpha of the data change inside Pawn among this array.
Maybe you have some ideas for this?