Posts: 312
Threads: 94
Joined: Jun 2012
Reputation:
0
I am creating an npc taxi system to where it will calculate a path from the npcs current position to the players position.
Currently I am using routeconnector but the nodes are not the greatest, do you know of an others, or do you have any suggestions?
Posts: 1,801
Threads: 21
Joined: Mar 2008
Reputation:
0
The Nodes are great, what you need is interpolating the Nodes to lower distances and smoothing, look at AIped and my NPC Drivers FS, it also includes a Taxi call function.
The driving doesnt look the best, but with performance in mind I don't think it can be improved much, except SAMP adds more stability to the NPC movement.
Posts: 312
Threads: 94
Joined: Jun 2012
Reputation:
0
03.04.2016, 18:51
(
Последний раз редактировалось jeffery30162; 03.04.2016 в 19:55.
)
If i use intersection between nodes in calculated path, How do I know when the npc has reached that point to tell him to comtinue to the next?
Thats not even the issue, the issue is bridges
If the npc has calculated a route to take under the bridge, when it approches the bridge it will use the nodes that are above them on the bridge instead of the ones under
Posts: 312
Threads: 94
Joined: Jun 2012
Reputation:
0
how do I correctly position the vehicle on a hill for it does not appear jumpy when going from pos to pos