23.10.2014, 16:35
Well, as the title says I want a way to detect invalid points, that was worded wrong but I can't
think of a better way to say it. Anyways, it's sorta line line of sight, I want a node projected line
from one point to the direction the player/vehicle is facing, each node would be checked to see
if the line should end there. If the line ends there that is the coords the x, y, and z would be
returned.
I had some ideas of how this would work, checking map andreas is an obvious one, and dijkstra (just like pamdex does in PathFinder)... Using dijkstra would be odd I believe, as pamdex used it, it was only used for ground level...
This is not a request, I just want to know if you guys think it's possible, and if so give some example of how it would work.
think of a better way to say it. Anyways, it's sorta line line of sight, I want a node projected line
from one point to the direction the player/vehicle is facing, each node would be checked to see
if the line should end there. If the line ends there that is the coords the x, y, and z would be
returned.
I had some ideas of how this would work, checking map andreas is an obvious one, and dijkstra (just like pamdex does in PathFinder)... Using dijkstra would be odd I believe, as pamdex used it, it was only used for ground level...
This is not a request, I just want to know if you guys think it's possible, and if so give some example of how it would work.