To explain I posted everything in the diagram below.
I'm attempting to make something like a Real time pathfinding if you will only using lines and points except this one forecasts your character/sprites' position every tick which obviously cannot be applied using the built in pathfinding function.
Key point #1: It doesn't matter if the character can't fit through the walls; what matters is the shortest distance can be found immediately.
Key point #2: Might export this using C3 so I'd prefer it done using VANILLA plugins
I'm thinking I'm going to need 3 sprites just to serve as points for each intersection on a wall and a single line sprite whose width will increase and until it reaches destination or until max distance is reached. To explain check out my "Hypothetical Solution" section at the bottom of the picture posted.
This is the solution I though of however I'm having trouble actually applying it. I'm thinking something like:
[repeat 180 times]
[point 1 is overlapping wall] set point 1 angle to [point1.angle + 1]
or something like that but to be quite honest I don't know where to start.
Thank you.