In this recipe, we explore some of the possibilities of manipulating the Massbox that we created when first creating the car's XML. With increasing the Massbox of the car, we will see how the car is able to push lighter objects out of the way.
Complete the Creating a new car XML recipe. Then open
MyVehicle.xml in Notepad or an equivalent editor.
As simple as the previous recipe was, this one will be just as easy to make a massive change to your vehicle.
Begin by finding the car's part named
massBox. To increase the mass of the MassBox, simply increase the
1500 to a higher value such as
The mass in CryENGINE 3 is measured in kilograms.
A simple ...