RoRBook/Flexbodies
From Rigs of Rods Wiki
- Introduction
- Working Environment
- Land-based Vehicles and Basics
- Objects and Texturing
- Aircraft and Winged Vehicles
- Nautical Vehicles and Boats
- Packaging
Contents |
Flexbodies
- See also: How to get a good Flexbody
Introduction
Flexbodies are a great new feature in RoR. Flexbodies allow you to make mesh-based vehicles which actually deform with the node-and-beam chassis. This makes for incredible visual detail while still keeping the fantastic deformation physics present in Rigs of Rods.
Defining Flexbodies
Defining a flexbody is easy.
flexbodies 3,4,19, 0, 0, 0.027, 90, 0, 90, car.mesh forset 1-10, 12, 14-56, 89, 1096-1337
The first line is exactly like the
Props section. The second line defines which nodes will be used to deform the vehicle. Generally they should be fairly close to the exterior of the mesh.
Hints for Flexbody modeling
Model everything interconnectedly. Do not use a collection of boxes. While it may save on polys a bit, it looks awful when deformed. Model doors, hoods, etc. separately from other bits so that you can add them in as separate pieces later. (e.g. you hit a pole, the hood bends realistically.)


Gold
Silver
Bronze