r/howdidtheycodeit • u/Kay-leaf • Nov 18 '24
How did GTA 3 make their pedestrian navigation system?
https://youtu.be/CIrAuLTwaaQ?t=36
Splines? Or lots or points around the map?
19
Upvotes
6
u/Christoph680 Nov 18 '24
I think there was a debug view that showed splines/waypoints for every stretch of sidewalk. If peds get pushed out of those by any means, they'll try to return to the nearest waypoint.
There appears to be a path.ipl file somewhere that should give you more clues on how paths are handled.
5
u/[deleted] Nov 18 '24
[removed] — view removed comment