Actor can't find pathfind to

Slate Forums Support Actor can't find pathfind to

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1911
    cloudninja
    Participant

    Hi – I’ve been working with Unity Timeline and just bought Slate. I’m using Unity 2018.3.8f1 | 3D template

    I want to set up a Pathfinding clip like in the gif on the Path documentation on https://slate.paradoxnotion.com/documentation/?section=paths. I set up the Animator Track, Paths Track and added the “Pathfind To” to the Paths Track – what did I miss?

    In the Documentation steps, it is not clear on which object do I attach the “NavMesh” component to – my humanoid character or the Slate cutscene object? (I tried both).

    My character is an imported DAZ Generation 8 Male character.

    The error I get is “Actor <MY_CHARACTER> can’t pathfind to ‘XYZ position’

    thank you,

    .cn

    Attachments:
    You must be logged in to view attached files.
    #1917
    Gavalakis
    Keymaster

    Hello,

     

    Have you baked a NavMesh? You need to bake a NavMesh as normal for the pathfinding clip to work:
    https://docs.unity3d.com/Manual/nav-BuildingNavMesh.html

    The NavMeshAgent component, also needs to be attached on the character pathfinding as normal too (not the cutscene gameobject).

     

    Thanks.

    Join us on Discord: https://discord.gg/97q2Rjh

    #1920
    cloudninja
    Participant

    Almost there – I baked the NavMesh and added a NavMesh agent to the character so now the path displays. However, the character is not moving down the path – do I need to script this? I thought it was handled “automagically” by your Pathfind to component?

    #1936
    Gavalakis
    Keymaster

    Hello,

     

    You dont need to script anything for this to work. The character should automatically pathfind the path if a path is possible.

    Do you maybe have any other action clips on that character that control it’s position? Do you maybe have an Animator Track with Root Motion enabled (in which case the Root Motion is taking over)?

     

    Let me know.

    Thanks.

    Join us on Discord: https://discord.gg/97q2Rjh

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.