PlayMaker Help & Tips > PlayMaker Help

Is it possible to draw navmesh path with playmaker ?[SOLVED]

(1/2) > >>

ob1knb:
I want the player to know where a character is going for a stealth prototype I'm working on.

jeanfabre:
Hi,

 yes, it's possible, you should use the action NavMeshCalculatePath which returns a list of vector3 points and with this list you can then create a line using the line renderer.

 Bye,

 Jean

ob1knb:
How can I add LineRenderer positions based on the Array?

jeanfabre:
Hi,

 ah bugger, I though we had an action for that. Let me work on one and get back to you tomorrow on this. there is one that can draw a line between two objects, I'll modify it so that you can pass an array of points.

https://hutonggames.com/playmakerforum/index.php?topic=3943.msg88570#msg88570


Bye,

 Jean

ob1knb:
Any updates, or should I move on?

Navigation

[0] Message Index

[#] Next page

Go to full version