Working Tesla autopilot using NavMesh within GMod
#1
I've been wondering if this is technically possible. If a nav mesh is generated for a set map, would a car be able to, in this case a Tesla have a functioning autopilot system?

I did some digging and research into this, and it seems like if the user selected a place to drive to, we could quickly replace the car with an NPC, therefore using the built in NextBox navigation, set the player to be inside the NPC and then tell the NPC to move to the given point.

We would need a variable to pass through any damage done to the "NPC" and return that so functionality such as the car health would reflect any damage done to it, along with a function that does damage to any players sat inside of the NPC.

Does this sound feasible? I wouldn't mind having a go at attempting to create a script for something like this.


Messages In This Thread
Working Tesla autopilot using NavMesh within GMod - by User 7141 - 05-12-2021, 06:33 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)