Forum rules - please read before posting.

Pathfinding options?

Hello Chris, is there a options with pathfinding coz i dont see them and i need them?

First of all my player can detect NPC collider to navigate around him, but when i click on hotspot which has marker my player go straight through NPC and his collider. 

Second, when my player navigate around NPC there is only one break point in ray
 (ref = http://i.imgur.com/VWBklRp.png ) is there a way to gain more controll over pathfinding or more break points?

Third, Player and NPC are side by side, Player start to move and NPC start doing gliches in movement "red square" (going up and down, left and right and when he is done glitching he start follow the palyer correctly) (ref= http://i.imgur.com/ZppRKQ0.png )

Thank you, Andrej

Comments

  • does this occur because your player is outside of a navmesh when clicking the hotspot? 

    anyway:

    some pathfinding options can be found in the AC settings tab - near the bottom.
  • No, my players are never out of NavMesh, they are close to border but never out.
  • edited October 2015
    1) I will attempt to recreate this issue.

    2) You can override the pathfinding algorithm completely by writing a custom navigation script.  See section 12.4 of the Manual.

    3) Try unchecking "Keep out of Player's way?" in the NPC's Inspector, or reducing the distance setting beneath.
  • In the moment when i was typing this i was like "OMG; Keep out players distance" and instantly went to check, and it was enabled, so i disable it.... and it still does the same effect so i just continued to type 3rd issue
  • So the NPC moves even when "Keep out of Player's way?" is unchecked?

    Can't recreate issue 1).  Please post a shot of your Hotspot Inspector, plus the scene view that shows it's walk-to Marker.
  • Yes, NPC still moves, i doubble checked, its disabled "keep away from players way" and they are both in NavMesh...
    Here are the shots,


    http://i.imgur.com/HJnbWHu.png 





  • Your Hotspot's Collider will influence physics objects, because "Is Trigger?" is unchecked.  Check it and see what effect it has.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.