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
»
[SOLVED] "Get Agent Current Off Mesh Link Data" does not display data
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: [SOLVED] "Get Agent Current Off Mesh Link Data" does not display data (Read 2530 times)
Ozhogi
Playmaker Newbie
Posts: 4
[SOLVED] "Get Agent Current Off Mesh Link Data" does not display data
«
on:
November 03, 2019, 06:19:45 PM »
Hi!
I apologize in advance for my english through Google Translate
As I understand it, Agent saw the object, I can pass Event if it touches it, but I can not get any more data
I found a question for 2017 (maybe that’s how it has remained since then), where there was the same problem - OffMeshLink returns NULL data.
https://forum.unity.com/threads/how-to-get-gameobject-of-current-navmeshlink-from-navmeshagent.502709/
It turns out that something is wrong with Action, or should it be used somehow differently?
«
Last Edit: November 17, 2019, 10:40:00 AM by Ozhogi
»
Logged
jeanfabre
Administrator
Hero Member
Posts: 15500
Official Playmaker Support
Re: "Get Agent Current Off Mesh Link Data" does not display data
«
Reply #1 on:
November 05, 2019, 02:04:18 AM »
Hi,
I am not sure... Would it be possible to share your project, so that I can have a look?
Bye,
Jean
Logged
Ozhogi
Playmaker Newbie
Posts: 4
Re: "Get Agent Current Off Mesh Link Data" does not display data
«
Reply #2 on:
November 05, 2019, 07:26:56 AM »
Thanks for answer, jeanfabre
I have too much garbage in the project, plus I use Unity 2019.3 there (it is better to exclude this factor from the test)
so I set everything up exactly the same in 2019.2 and the result is the same
https://drive.google.com/open?id=1uZJ4-EY2xSIP-0yiIrqMr9qcPOc6IffA
Logged
jeanfabre
Administrator
Hero Member
Posts: 15500
Official Playmaker Support
Re: "Get Agent Current Off Mesh Link Data" does not display data
«
Reply #3 on:
November 12, 2019, 01:20:58 AM »
Hi,
ok, it's all working, let me explain:
you need to catch when the agent is on an off mesh link, and then you can use the action
Let me know if you understand that, ok?
Bye,
Jean
Logged
Ozhogi
Playmaker Newbie
Posts: 4
Re: "Get Agent Current Off Mesh Link Data" does not display data
«
Reply #4 on:
November 17, 2019, 10:39:24 AM »
Big Thanks, jeanfabre! It works
just in case, add screenshots of Actions
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
»
[SOLVED] "Get Agent Current Off Mesh Link Data" does not display data