CompatibleWheels
<CompatibleWheels>
tags within <TruckData>
describe wheels that are compatible with the truck and available for it.
This tag is used only for wheels that are "sets of tires and rims". It may be used multiple times, to install different types of wheels or the single type with different scaling.
NOTE: If the <Wheels>
tag sets the default type of the wheel, then the <CompatibleWheels>
tag should exist for the same type of the wheel.
Attributes:
-
Type="wheels_medium_double"
(Mandatory.) Type. Name of the XML class of the wheels, file from the.../classes/wheels/
folder. -
Scale="0.55"
(Mandatory.) The even scale of the wheel. We make wheels with the radius equal to1
meter, so thisScale
is equal to the actual size of the wheel on the truck. -
OffsetZ="0.1"
Shift of the wheel along theZ
axis relative to the position indicated in thePos
attribute of the<Wheel>
tag. This parameter allows us to install wheels of different widths on the truck without intersections with it. If only theOffsetZ
parameter is specified, all wheels will be shifted by the specified value, regardless of theLocation
of the<Wheel>
. -
RearOffsetZ="0.1"
Shift of the rear wheel along theZ
axis. If it is specified, wheels withLocation = "rear"
of the<Wheel>
will be shifted by the specified value.