Physics Making new and correct colliders is easy - PDF tutorial

Warning: changing the size of collider on big vehicles - buses and trucks means there must be a road line wide enough to let them pass. For example my lines for SRP with restriction of 1.5 meters on both sides of the fast_lane cause the trucks with AI to block other AI cars. The lines need at least 1.75 m on both sides.
 
Last edited:
After some more testing - the road width that is necessary for AI trucks is determined not so much by the collider but by the track in "suspensions.ini" and tyres width. And you probably would want to set those correctly to have the right RainFX water spray and trails. I set the tracks on the example "Tank truck" initially at 2.35 m and tyres are 0.46 so this was the reason for the disruptions in traffic flow. As long as you stay below 2.25+0.45 trucks and buses can squeeze through lines with 1.5 m on each side.
Also important: the collider volume must be bigger than the car inertia box from "car.ini" or else it starts disappearing and popping up when you are near.
If you want to test more examples of corrected trucks see this other post.
 
Last edited:
Back
Top