lol lmao
This version makes a basic path finding ai that drives the now smooth spline racing line this update is taking longer than expected the current version im making doesnt follow the racing line instaed im defining the track width and center and making the ai calculater its own fastest line so its more dynamic
I wanted to give a little bit of an update on what I’ve been doing lately with this project. This update is taking longer than expected and I’ve gone through several different ways of doing this and I think this way is the final way that I’m going to be doing this. I will be getting the rest of the tutorial out for you guys soon but I need to finish this update first what I’m doing in this update is instead of making the AI just follow a predetermined path that I have made myself. I want to go off of track boundary points that I have set around the track if you’ve ever driven around this track you know it’s very angular and you know the way that I made it with the tile maps. It’s just by making a couple of tiles and connecting them like pieces and that’s why it’s super angular. There’s no really like curves. I just kind of make curves with a bunch of different angles so I place points at every single time. The angle changes in the curve and I draw lines between them for the track boundaries and have two different track boundaries passible and impassible the impassible boundaries you cannot pass or at least the AI can’t pass but the passable ones they can. And these passable ones are only occurring where there is a run-off area and to start a run-off area I have a branch point which I will put at the end of an impassible boundary. Then from that branch point will split two more lines. One is the passable boundary and one is the run-off boundary and by the way I have a left side boundary in the right side boundary so there is multiple different types of passible and impassible boundaries and so I’ll have the AI look at the boundaries that it can’t pass. Look at the boundaries that can’t pass. Look at the run-off areas and calculate the fastest line around the track knowing that on the run-off areas it doesn’t have as much grip, but it could still produce a faster lap time depending on its line and then once it’s got that under control I’ll start teaching it techniques like trailbraking and throttle modulation and brake modulation and using the clutch to rotate the car a little bit stuff like that
Hey everyone, I know it has been a pretty long time since I posted an update about this project, and a LOT has changed since my last update. Last time I posted, I was still working with the old rendering system that used the 3D raycasting extension along with floor and ceiling tilemaps, but since then the project has come a really long way. First of all, I completely changed the car from the Mustang GTD to a NASCAR Cup Series Next Gen Gen 7 car, and I even made a Bristol Motor Speedway setup for it with realistic suspension and handling. I also completely changed the rendering system and got it to generate a 3D version of Bristol Motor Speedway with actual banking, including progressive banking where the banking changes depending on how far up the track you are, kind of like the real Bristol. I’ve also implemented a full 3D physics system with things like suspension, gravity, jumping, airborne physics, collisions, and aerodynamic effects, and right now I’m mainly testing everything and making smaller adjustments to get it working as accurately as possible. I’ve been spending a lot of time optimizing the rendering system too because performance is one of the biggest challenges, especially with how many triangles are needed to build a track. Once I get the performance where I want it, I have a lot of possible plans for the future. Some of them include bringing back the AI but rebuilding it to work in 3D with elevation and banking, making a 3D racing line system, and rebuilding the tutorial mode with lessons for things like braking, acceleration, cornering, trail braking, switchbacks, banking, and driving uphill and downhill, each with different levels of driving assistance. I also want to add 3D smoke particles, tire marks that appear when the tires slide, textures for the track and other surfaces, and even aerodynamic blowovers that work differently depending on the type of car, like NASCAR stock cars and Le Mans prototypes. Some other ideas I’ve been thinking about are a full career mode where you can manage your own racing team, earn money, buy upgrades, and compete in different events, along with a paint scheme editor and a custom track builder where you can create tracks and save them to use later. None of these future features are guaranteed yet because performance is still something I need to work on, but that’s pretty much where the project is right now. There is a LOT more planned than there was when I first started, and I’m excited to see how far I can take this!