# BaggageCart Definition A **Baggage Cart** could be understood to designate two different kind of vehicles : a **Tug**, or a **Dolly**. In the [Living World Configuration](../../../environment/living-world/living-world-config/living-world-xml-properties/), "BaggageCart" designates only the Tug vehicle, while "BaggageDollies" designates the Dolly vehicles. In [Airport Services](../../../environment/living-world/airport-services/airport-services/), a BaggageCart is the whole entity of a Tug followed by Dollies.   The usual behavior for both is for a Tug to be followed by three Dollies, attached one behind the other. This entity can then accompany a BaggageLoader heading for an aircraft's cargo door, and place itself behind the Baggage Loader. When being created, both tugs and dollies are different, independent vehicles, and if configured properly, any tug should be compatible with any dolly.   A Baggage Tug vehicle has the same parameters as other [Ground Vehicles](../ground-vehicles/), with some additional properties. In order to be attached to a dolly, a Tug should have an attach point, with an optional link moving left-to-right. In both cases (moving link or not), this has to be configured in `sim.cfg`, and a moving link should also use a model behavior. {{< image-center src="images/5_Content_Config/SimObj/vehicles/baggage_cart.png" alt="Baggage Cart Example Within The Sim" >}}   ### Sim.cfg The `Sim.cfg` file will need to have the `[WagonLink]` section added for a BaggageCart type of ground vehicle, with the following parameters: - `frontLinkLength` - `frontLinkStartPosition` - `backLinkLength` - `backLinkStartPosition`     ### Model Behavior Helper If the Tug has a movable link, it should have an animation moving this link from left to right (or the other way around), linear regarding angle. Then, it should use the model behavior helper `ASOBO_Wagon_Back_Link_Template` (by including "`Asobo.xml`") with this animation in the `ANIM_NAME` parameter.   `ASOBO_Wagon_Back_Link_Template` also has three other parameters : `ORDER_MULTIPLIER`, `MIN_ANGLE` and `MAX_ANGLE`. The first one contains 1 or -1 depending on whether the animation start on the left side and end on the right, or the other way around. The two other parameters contain the angles of the link on the first and last frame of the animation, in degrees.   For more information please see: [Ground Vehicle ModelBehavior Helpers](../../../models/modelbehaviors/ground-vehicle-modelbehavior-helpers/)     ### Baggage Dollies A Baggage Dolly vehicle has the same parameters as other ground vehicles, with some additional properties. Note however that several of the usual parameters for ground vehicles do not make sense for a Baggage Dolly, such as the pilot parameters.   In order to attach to the Tug and the other Dollies, and Dolly should have an attach point on its back, with an optional link moving left-to-right, and another one on its front (still with an optional link). The back attach point (and optional link) work the exact same way as with the Baggage Tug.   In a very similar way, the front attach point (and optional link) have values in `sim.cfg`, and, in the case of link, an animation and associated model behavior. For `sim.cfg`, the corresponding lines are `frontLinkLength` and `frontLinkStartPosition`, in the same `[WagonLink]` section. For the model behavior, the helper is `ASOBO_Wagon_Front_Link_Template`, with the same parameters and requirements.     ### Note on SimVars The constants defined in `sim.cfg` are stored in SimVars: - `WAGON BACK LINK LENGTH` - `WAGON BACK LINK START POS` - `WAGON FRONT LINK LENGTH` - `WAGON FRONT LINK START POSZ` These correspond retrospectively to `backLinkLength`, `backLinkStartPosition`, `frontLinkLength`, and `frontLinkStartPosition`.   The model behavior templates are also driven by the following dynamic SimVars: - `WAGON BACK LINK ORIENTATION` - `WAGON FRONT LINK ORIENTATION`.