Difference between revisions of "ISKernel:navpath (Data Type)"

From Lavish Software Wiki
Jump to navigation Jump to search
Line 7: Line 7:
  
 
== Methods ==
 
== Methods ==
''(these methods require Inner Space 0.74)''
 
 
*'''Clear''': Resets the path so it contains no points
 
*'''Clear''': Resets the path so it contains no points
 
*'''GetPath['''world''','''point a''','''point b''']''': Gets the shortest path from point A to point B (clearing is not required, it is done automatically)
 
*'''GetPath['''world''','''point a''','''point b''']''': Gets the shortest path from point A to point B (clearing is not required, it is done automatically)

Revision as of 21:46, 25 May 2005

Description

Members

  • point3f Point[#]: Retrieves a point on the path, starting with 1
  • string PointName[#]: Retrieves the original name of a point on the path, starting with 1
  • int Points: The total number of points on this path

Methods

  • Clear: Resets the path so it contains no points
  • GetPath[world,point a,point b]: Gets the shortest path from point A to point B (clearing is not required, it is done automatically)
  • Reverse: Reverses the path

Returns

Examples

See Also