Player Path to Objective (ie ESV: Skyrim's Clairvoyance Spell)

Hello,

I’ve looked everywhere for this information. I’m trying to find a way to script for the player’s suggested path to be visible with a simple texture (green rectangular path running from Player to Objective). I’ve seen this done before in Skyrim, as the best example during Clairvoyance spell casting. Example is below:

I’ve also seen it in an indie game demo (Clock Work):

I was thinking of using A* Pathfinding for other purposes, but I don’t know if it would help in this situation. Has anyone dealt with this before? Just looking to be pointed on the right direction.

-EM

Bump

I’m also very intrigued in path-finding in a 3D environments.

I’ve implemented some A* algorithms in 2D java applications. I figured in a 3D space it would be inefficient to implement the A* algorithm. Was hoping for a more elegant solution. But, like you I’ve looked on the net, haven’t found any good detailed examples.

In the meantime i’ll probably implement the A* path-finding and see how efficient/inefficient it is.

-Steve