According to wiki documentation , The Action describes the action to take when this PathWaypoint is reached
.
However, it appears that this statement is inaccurate, and PathWaypoint.Action is, in fact, the action required to reach the current waypoint.
This can be seen in a simple path visualization;
- Start position is the SpawnLocation; end position is the green part.
- Blue 1x1x1 parts represent
Walk
action waypoint positions. - Red 1x1x1 parts represent
Jump
action waypoint positions.
The raised platform requires a jump to reach, but according to DevHub documentation, a jump is not required until the waypoint is reached to begin with, which is impossible without jumping.
This is highly confusing for trying to make an API accurately following pathfinding, and I didn’t realise that this was the case until I made a visualization showing the action for each waypoint.
Simple repro if needed - see ServerScriptService.
pathfinding woes.rbxl (19.0 KB)
Please clarify if this is instead a personal misunderstanding