Advertisement

What's a path ??

Started by June 07, 2000 04:28 AM
2 comments, last by NinjaCross 24 years, 5 months ago
Hey !! Please, I studied a lot about neural nets and generic AI, and now i would like to know how i can apply the things i studied to my programs... Somebody can say me what''s a PATH ?? Is it a point on a space that a unit should find ? Where can i find some informations about AI for games ? Can i find something in this site ? Thanks, guys ! //------------- Making Funny Fake Codes //-------------
//-------------A straight line may be the shortest distance between two points, but it is by no means the most interesting.http://members.xoom.it/NinjaCross
A path is the way to get from Location A to Location B. It is usually stored as a list of directions, or a list of ''nodes'' to traverse. Nodes are often mapsquares in a tilebased game, or waypoints in a 3D game. Do a search for Amit''s Game Programming Site on a search engine, (or wait for someone else here to post the address) and that has lots of details on pathfinding
Advertisement
A ''path'' in a path-finding algorithm is the trajectory that a unit (say a robot or unit) will travel to move from the point it is right now to the destination it wants to reach based on what its goals are. AI will decide for the unit which at that moment is the correct (i.e. shortest, fastest, safest,...) path to follow.

Does this help?

******************************
Stefan Baert

On the day we create intelligence and consciousness, mankind becomes God.
On the day we create intelligence and consciousness, mankind becomes obsolete...
******************************
******************************StrategicAllianceOn the day we create intelligence and consciousness, mankind becomes God.On the day we create intelligence and consciousness, mankind becomes obsolete...******************************
Thankyou very much guys !!
Now i know that "Path" is only a name to define something that i already knowed !!

Thankyou again and see you soon !!

//-------------
Making Funny Fake Codes
//-------------
//-------------A straight line may be the shortest distance between two points, but it is by no means the most interesting.http://members.xoom.it/NinjaCross

This topic is closed to new replies.

Advertisement