First off [although not nearly as important], I've been experimenting with a few lighting concepts for the winter track. As you can see, I overhauled the lighting and skybox to a dusk setting [rather than mid-afternoon]. I really love the mood this sets, and it really helps the track stand out.
As for the AI, I've made some progress- the AI kart actually goes all the way around the track. Yep, that's right. Full 360.
In order to do it, I had to set up three targets around the track. The kart tracks to the first target and switches to the next once it gets within a certain distance. It will loop endlessly between the three targets, making it go all the way around the track.
However, the way in which I approached this wasn't my preferred method. I wanted to have just one steering actuator that would update the target automatically, but it always switched back to the previous target [and I couldn't figure out a system to prevent this]. Instead, I tried a state system in which it will switch to a new steering actuator in an independent state, thus [hopefully] preventing it from turning around. This eats up considerably more logic, though.
Also, I'm planning on getting screen capture software some time in the near future. This way I can actually post some footage of the AI in action. Just a heads up.

No comments:
Post a Comment