Progress has been very slow. For hours i troubleshooted some issue with the friction not working correctly. Its an on/off affair. Due to not wanting to spend more than 5 days with this excluding the days it took me to learn how to make vehicles i decided to move on.
Took me some time to get the basics done.
Truck is controlling itself, always aiming fwd depending which lane it is in. For example in the left lane it moves fwd in the left lane, if in the right lane it moves fwd in the right lane.
Touch the screen and it changes lanes.
Road segments are deleted behind you as to not waste resources, and then new segments are spawned in the front.
When a road segment is spawned it randomizes the locations of objects like rocks and plants. Basic scenery only.
The next step is to create other cars on the road that you need to avoid.
Then implement what happens if you crash into them and also those cars AI. Based on which direction they are going. And they also need to avoid other cars.
Once that is done the rest should be a walk in the park.
Will upload a video once i reached the next milestone.