Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

With Maya curve tool, we can create a 3D path and make our agents feel it and interactive with it, such as follow it. And our path supports indexing.

...

Then the selected curve will be marked path and there will be a path range been drawn out like the above picture shown, the blue range circles is the path range.
Also there are some path attributes in the channel box, but at this time, only "flow width" and the "road ID" is useful.


Path attributes in channel box


Please check out the follow picture, the orange dot line is the curve we used to create the path, and the cylinder is a range which distance from curve is "Range" which marked by the blue short line.
If we want our agent feel the path, the agents should be inside the road range, there are 2 agents in the below image, the inside one can feel the path and interactive with it, but the outside one cannot



The inside agent can feel the path whereas the outside one cannot, and the path range is R, short blue line


Sentences

(Path)

  • I'm in path and it point to LEFT/RIGHT
  • I'm in path and it point to UP/DOWN


  • I'm in path[?] and it point to LEFT/RIGHT
  • I'm in path[?]] and it point to UP/DOWN

Above sentences test path direction in horizontal and vertical.

...