playMaker
Home
Store
Showcase
Tutorials
Forums
Manual
Wiki
About Us
Playmaker Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Join our
Discord Channel
Home
Help
Search
Login
Register
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
Is it possible to draw navmesh path with playmaker ?[SOLVED]
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Is it possible to draw navmesh path with playmaker ?[SOLVED] (Read 1602 times)
ob1knb
Playmaker Newbie
Posts: 11
Is it possible to draw navmesh path with playmaker ?[SOLVED]
«
on:
July 05, 2020, 02:13:02 PM »
I want the player to know where a character is going for a stealth prototype I'm working on.
«
Last Edit: July 13, 2020, 03:23:06 AM by jeanfabre
»
Logged
jeanfabre
Administrator
Hero Member
Posts: 15500
Official Playmaker Support
Re: Is it possible to draw navmesh path with playmaker ?
«
Reply #1 on:
July 06, 2020, 01:41:37 AM »
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
Logged
ob1knb
Playmaker Newbie
Posts: 11
Re: Is it possible to draw navmesh path with playmaker ?
«
Reply #2 on:
July 06, 2020, 02:50:27 AM »
How can I add LineRenderer positions based on the Array?
Logged
jeanfabre
Administrator
Hero Member
Posts: 15500
Official Playmaker Support
Re: Is it possible to draw navmesh path with playmaker ?
«
Reply #3 on:
July 06, 2020, 04:42:17 AM »
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
Logged
ob1knb
Playmaker Newbie
Posts: 11
Re: Is it possible to draw navmesh path with playmaker ?
«
Reply #4 on:
July 08, 2020, 06:03:32 PM »
Any updates, or should I move on?
Logged
jeanfabre
Administrator
Hero Member
Posts: 15500
Official Playmaker Support
Re: Is it possible to draw navmesh path with playmaker ?
«
Reply #5 on:
July 10, 2020, 01:34:34 AM »
hi,
no no, I am on it
Bye,
Jean
Logged
jeanfabre
Administrator
Hero Member
Posts: 15500
Official Playmaker Support
Re: Is it possible to draw navmesh path with playmaker ?
«
Reply #6 on:
July 10, 2020, 02:15:49 AM »
Hi,
done
download DrawPathLineRendering from the Ecosystem browser and you can then control a lineRenderer positions. It's working differently then the DrawLine action, it expects a lineRenderer Component instead of creating one from scratch, which gives you a lot more control during editing this way.
Let me know how it goes.
Bye,
Jean
Logged
ob1knb
Playmaker Newbie
Posts: 11
Re: Is it possible to draw navmesh path with playmaker ?
«
Reply #7 on:
July 10, 2020, 05:42:34 AM »
Works perfectly, Thanks
Logged
jeanfabre
Administrator
Hero Member
Posts: 15500
Official Playmaker Support
Re: Is it possible to draw navmesh path with playmaker ?[SOLVED]
«
Reply #8 on:
July 13, 2020, 03:23:27 AM »
Hi,
Excellent! Thanks for letting us know.
Bye,
Jean
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
Is it possible to draw navmesh path with playmaker ?[SOLVED]