FindShortestPath parameter doesn't support @nearpoint array.

   756   3   1
User Avatar
Member
3 posts
Joined: Sept. 2022
Offline
From each startpoint, find the shortest nearby points(about 5 points).
But after setting parameter "End Points" same as "Start Points", and parameter "Output Paths" is set to "From each start to any end", It just find the path to itself, only generating isolated point.

"From each start to corresponding end" works, but it doesn't support @nearpoints array.

Any ideas?
User Avatar
Member
60 posts
Joined: Nov. 2021
Offline
i assume you're using the findshortestpath sop?

you could build a forloop in vex with the nearpoint and addprim functions and control the length of the path by the number of iterations
User Avatar
Member
3 posts
Joined: Sept. 2022
Offline
eaniix
i assume you're using the findshortestpath sop?

you could build a forloop in vex with the nearpoint and addprim functions and control the length of the path by the number of iterations

Only findshortestpath can make complicated road in high performance. It is what I need exactly.
User Avatar
Member
122 posts
Joined: Aug. 2017
Offline
Can you post your file.

Attachments:
AdvFind.hipnc (158.6 KB)

Conservation of Momentum
  • Quick Links