Log inGet started
Package

modelbake.module

This package holds more than this page lists. See all of its files in its world.

README.md

modelbake

Writes every generated vehiclesKit vehicle model into the package and can be re-run: meshes are overwritten in place and keep their guids. Bake.all() writes 27 body meshes (meshes/<kind>_<look>), the moving-part meshes (meshes/<kind>_<part>_<look>: turret, fan, prop, rotor, tailRotor, oarL, oarR) and the generated vehiclesKit.modelData module (literal asset refs, body center/size/tris, part pivots and spin axes, and every kind's layout). Bake.kinds({ "bus", "tank" }) re-bakes some kinds and rewrites the data (keeping the other kinds' entries); Bake.meshes(kinds) and Bake.writeData() do one half each.

Run it from an execute / authoring step after editing vehiclesKit.modelgen. A full bake takes several seconds of one frame, so it is not meant to run inside play.