[DiscordArchive] When calculating a creature's distance to a waypoint, should object size be taken into account the w
[DiscordArchive] When calculating a creature's distance to a waypoint, should object size be taken into account the w
Archived author: Mithria • Posted: 2025-06-08T23:39:35.749000+00:00
Original source
When calculating a creature's distance to a waypoint, should object size be taken into account the way GetDistance() does, or should it be calculated from the direct center of the creatures bounding box?
Archived author: Mithria • Posted: 2025-06-08T23:41:07.670000+00:00
Original source
I have a PR open to implement the start_nearest_waypoint smart action, and it works fine, but if multiple waypoints intersect a creatures size, then the first one evaluated is always selected as closest, even if there is a waypoint closer to their origin
Archived author: Mithria • Posted: 2025-06-08T23:41:29.269000+00:00
Original source
Unsure which way is the correct way to implement
Archived author: Mithria • Posted: 2025-06-08T23:42:24.237000+00:00
Original source
FYI I have it working both ways on 2 of my local branches, just trying to decide which to push
Archived author: Mithria • Posted: 2025-06-08T23:45:26.790000+00:00
Original source
Intuitively, to me, it would make sense that the _closest_ waypoint gets picked, even in the case where multiple waypoints are within the creatures bounds. The current GetDistance() results in weird behavior and wrong waypoint selection in cases where a group of creatures all spawn less than 1 yard from each other, and attempt to begin separate waypoints from each other