| PathEngine home | previous: | next: |
Associates a direction with the traverse cost for regions marked with a specified surface type.
void setSurfaceTypeTraverseCostDirection(tSigned32 surfaceType, tSigned32 directionVectorX, tSigned32 directionVectorY); |
| surfaceType |
(Must be >= 0.) The direction will apply to the traverse cost for regions marked with this surface type. | ||
| directionVectorX | The x component of the desired direction vector. | ||
| directionVectorY | The y component of the desired direction vector. |
Refer to
The direction vector for each surface type defaults to [0,0],
which indicates that any cost to traverse set for the region applies to
movement in all directions.
| Documentation for PathEngine release 5.16 - Copyright © 2002-2008 PathEngine | next: |