Changes

Jump to navigation Jump to search

Games/ETS2/Modding guides/1.35

912 bytes added, 11:01, 6 June 2019
Wheel collision offsets improved
=== Wheel collision offsets improved ===
 
Previously, the wheel collision representation used a hard-coded offset and width, and thus did not always match precisely the visuals. Most wheels should now have their collisions matched by default.
 
The only wheels requiring special treatment are those with a nonzero offset of the 'middle' of the tire from zero (this may arise for multiple reasons, e.g. for allowing baked (not tire + rim) wheels
to rotate as intended, or for making tires with multiple widths compatible with a single rim/disc accessory).
 
For such wheels, there is a new parameter in <code>accessory_wheel_data</code> called '''wheel_shift'''. This shift should amount to the difference between the zero of the scene and the zero of the tyre for the collisions to be generated correctly.
 
{{Note| Another ingredient needed for the collisions to work as intended is ensuring the BB locator is positioned at the outer edge of the tire.}}
=== Wipers duration & delay format ===
7
edits

Navigation menu