Search Home Members Contacts
About Us
Products
Downloads
Community
Support
Pages: [1]
  Print  
Author Topic: pathfinding (node system)  (Read 442 times)
naruto
Community Member
*
Posts: 45


« on: July 31, 2011, 01:39:22 PM »

now i can get my pathfinding well , but i have a problem ( the actor not get the shortest path) i do not know why ... (may be small amount of nodes or  distance between nodes but i am not sure)
when i try to increase the amount of nodes i got error with
PathFinder.CreateNodeGraph(false)

and also i want to know what is the difference if i wrote
PathFinder.CreateNodeGraph(true)

i can get the path if i wrote (false or true)
what is the point of this ..


this is a video ... (i want my actor take shortes path)


http://www.youtube.com/watch?v=A29RlYtRYHs


if i tried to increase nodes or less the distance between nodes
i got error
« Last Edit: August 02, 2011, 06:23:07 AM by naruto » Logged
beyonder
Moderator
Community Member
*****
Posts: 463


« Reply #1 on: July 31, 2011, 05:35:06 PM »

You might want to play with

AiPathGrid.SetNodeSystemParameters NodeSearchRadius, MaxAltitudeChange

If this is not set up properly it can lead to crashes.

 Smiley
Logged

"And what I saw scared me to the depths of my miserable soul. It was true, it was all a sham, it ain't real." - The Thirteenth Floor
naruto
Community Member
*
Posts: 45


« Reply #2 on: July 31, 2011, 05:59:40 PM »

sure i wrote this before and the same error

« Last Edit: August 02, 2011, 06:22:10 AM by naruto » Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.3 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks