- Home /
How does Pathfinding Project's DistancePointSegment work?
I'm attempting to get the distance, as a float, between two points within the Pathfinding Project 3.0 plugin. I looked at the documentation and came across the 'DistancePointSegment' function - but I'm not sure what they're asking for with "x, z, px, pz, qx, qz" as function variables.
Px/z and Qx/z are both supposedly 'lines' - what lines? And if they're the coordinates within the Pathfinding object, what use does then x and z have? How do I get these alleged P & Q lines compared to world coordinates?
Your answer
Follow this Question
Related Questions
Retrieving the shortest distance between two positions in Pathfinding Project 3.0? 0 Answers
How to make my enemy discover, chase and lose player. 2 Answers
A* pathfinding Project add new nodes and having have connections. 0 Answers
Navmesh Agent get distance 0 Answers
How to calculate distance based on A*? 2 Answers