playMaker

Author Topic: [SOLVED] "Get Agent Current Off Mesh Link Data" does not display data  (Read 2530 times)

Ozhogi

  • Playmaker Newbie
  • *
  • Posts: 4
    • VK Public
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 »

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

Ozhogi

  • Playmaker Newbie
  • *
  • Posts: 4
    • VK Public
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

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

Ozhogi

  • Playmaker Newbie
  • *
  • Posts: 4
    • VK Public
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