So we are working now new mode:
On start, theres an AC menu which the player will select where he wants to go.
Then after he selected, theres a line that will draw to the distance of the player and the destination on the floor, this will serve as a guide.
How do I do it? Do i need like the draw line renderer to to that?
Comments
Vector3 startPosition = AC.KickStarter.player.transform.position;
Vector3 endPosition = AC.KickStarter.player.GetTargetPosition ();
The code I posted assumes that your Player is already moving along a navigation path (generated when the Character: Move to point Action is used). If you want to draw a line between a player when stationary and some other destination, you don't need to access his internal functions.
If you're in need of more advice about this, you're going to have to give more detail about what it is exactly you're looking to do - and what you've managed to do so far. Any screenshots or illustrations you can provide will make things much easier to convey.