First, when developing Nitro Racer XD, the wheel physics was made me dizzy. After solved it, there’s a new problem with the AI. The AI are retarded. The AI sees something in front of them, they don’t brake, but they just hit player’s in front of them and then respawn and then can’t move or driving in reverse direction. But the ‘Retarded’ AI was solved, even now the AI still a bit retarded. They see you are in front of them, they brake or sometimes turn left / right till they hit object.
But the PROBLEM in this GAME that really really really really making me crazy is, GM WAYPOINTER ! It’s position manager for racing game. You know it’s very very important in racing game. I asked on Unity Answers, Unity Forum, but no one answers it!!! Not sure if they are avoiding me or they just don’t know the answer.
I already discussed with my friend but i don’t think it’s working. And this is the method i use to make a position manager.
- GM Waypointer : GM Waypointer is a race position manager that attached in GM / every Waypoints by using Vector3.Distance. Who is nearest to the Waypoint, it’s the lead. But it was failed, because i can’t figure it out how to make the player knows its ranking.
- LiNER : LiNER is a race position manager that attached in every player’s car. Activate when a player hits a triggered box collider and then check if the player which is just hit the line is in front of me, the player rank was +1, and otherwise if the player which is just hit the line is in my behind, i was +1. But i don’t use it because all player thinks they are number 1.
- Vektor3DotDot : Vektor3DotDot is a race position manager that attached in every player’s car. Use Vector3.Dot to check the distance to other player. Not used because of complexity.
- TiMECORRECTOR : TiMECORRECTOR is a race position manager that attached in waypoint and also update the race standings everytime you hit the waypoint. Who is fastest to the waypoint its the lead. It’s record time you reached the checkpoint and compare it to other. The Reason i don’t want to use this because, i can’t figure it out how to make the player knows its ranking.
- Linecaster : Linecaster is a race position manager that attached in waypoint. Who is nearest to waypoint, it’s the lead. I know it same with GM Waypointer, but this use Linecast not Vector3.distance. Each AI Shoots ray to waypoint. AI Distance value send to all waypoint. Then Waypoint sort the distance. From AI kart, find a distance that has same value with waypointer, and then the waypointer returns it length. I’m doing this right now.
If you have any suggestion for position manager, please help me. This code freaking me out. Make me stressed till i sick again.