mrPlow Vehicle Pipeline
Goal: KAMAZ is not imported as a loose mesh. It becomes a Chaos Vehicle skeletal mesh with a Root bone and wheel physics bones. Rear bodies, cargo, blades, and other working tools stay as separate Unreal modules attached to sockets.
Source Assets
All source working models must be saved in:
C:/Users/post/Documents/mrPlow/in
Do not treat exported FBX files as source of truth. FBX files under VehicleExports/ are generated artifacts for Unreal import.
C:/Users/post/Documents/mrPlow/in/kamaz_65115.blendC:/Users/post/Documents/mrPlow/in/kraz_6322 .blend
Important Blender objects already found:
- KAMAZ chassis/body base:
CABIN,rama,rear axle,transmission,broom, wheel/tire/disk objects. - KAMAZ modules:
KUZOV,GRUZ. - KRAZ modules:
body for bulk,blade bucket.
Unreal Layout
Use this content structure:
/Game/MrPlow/Vehicles/Kamaz/SK_Kamaz_ChassisSKEL_KamazPA_KamazABP_KamazBP_KamazBase
/Game/MrPlow/Vehicles/Kamaz/Modules/SM_Kamaz_KuzovSM_Kamaz_GruzSM_Kraz_BodyForBulkSM_Kraz_BladeBucket
/Game/MrPlow/Vehicles/Data/- vehicle/module data assets later.
Chaos Bone Scheme
Recommended KAMAZ rig:
RootBodyPhys_Wheel_FLPhys_Wheel_FRPhys_Wheel_ML1Phys_Wheel_MR1Phys_Wheel_ML2Phys_Wheel_MR2Phys_Wheel_RL1Phys_Wheel_RR1Phys_Wheel_RL2Phys_Wheel_RR2
Only ground-contact wheels should become Chaos wheel bones. Spare wheels and decorative duplicates stay mesh/module geometry.
Module Sockets
Add these sockets on SK_Kamaz_Chassis after import:
Socket_RearModuleonBodySocket_CargoonBodySocket_FrontBladeonBodySocket_BroomonBodySocket_HitchonBody
KUZOV, GRUZ, body for bulk, and blade bucket should be separate assets in Unreal, attached by socket. This lets KAMAZ use KRAZ rear body or blade without re-exporting the truck skeleton.
Run Export Prep
First create/update the clean source file:
& "C:/Program Files/Blender Foundation/Blender 5.1/blender.exe" --background --python "C:/Users/post/Documents/mrPlow/mrPlow58/Tools/VehiclePipeline/clean_kamaz_source.py" -- --input-root "C:/Users/post/Documents/mrPlow/in"
This writes:
C:/Users/post/Documents/mrPlow/in/kamaz_65115_clean.blendC:/Users/post/Documents/mrPlow/in/kamaz_65115_clean_report.json
Then export FBX files:
Example:
& "C:/Program Files/Blender Foundation/Blender 5.1/blender.exe" --background --python "C:/Users/post/Documents/mrPlow/mrPlow58/Tools/VehiclePipeline/prepare_vehicle_exports.py" -- --input-root "C:/Users/post/Documents/mrPlow/in" --output-root "C:/Users/post/Documents/mrPlow/mrPlow58/VehicleExports"
Build Visual Verification Assembly
Use this before Unreal import when checking whether every module fits the truck:
& "C:/Program Files/Blender Foundation/Blender 5.1/blender.exe" --background --python "C:/Users/post/Documents/mrPlow/mrPlow58/Tools/VehiclePipeline/build_modular_assembly_verify.py" -- --input-root "C:/Users/post/Documents/mrPlow/in" --export-report "C:/Users/post/Documents/mrPlow/mrPlow58/VehicleExports/mrplow_modular_assembly_verify_report.json"
This writes one visual master file:
C:/Users/post/Documents/mrPlow/in/mrplow_modular_assembly_verify.blend
Open it in Blender and inspect:
MrPlow_Chassis: clean KAMAZ chassis and rig sourceMrPlow_Modules: original KAMAZ modules still in the master fileVerify_02_KAMAZ_With_Alt_Modules: side-by-side KAMAZ fit check with KRAZbody for bulkandblade bucketVerify_Labels: socket markers and labels
The visual verification file is for checking fit. Unreal import remains modular: chassis as skeletal mesh, equipment as separate static/skeletal modules.
Scale And Axis Validation
Before importing a vehicle into Unreal, run:
& "C:/Program Files/Blender Foundation/Blender 5.1/blender.exe" --background --python "C:/Users/post/Documents/mrPlow/mrPlow58/Tools/VehiclePipeline/audit_blend_scale.py" -- --input-root "C:/Users/post/Documents/mrPlow/in" --spec "C:/Users/post/Documents/mrPlow/mrPlow58/Tools/VehiclePipeline/Specs/vehicle_specs_seed.json" --output "C:/Users/post/Documents/mrPlow/mrPlow58/VehicleExports/model_scale_audit.json"
Unreal convention for all vehicle imports:
XforwardYrightZup- Unreal units are centimeters
- Blender source units are meters
- after import, asset scale must be
1, 1, 1 Rootbone must be at world origin
Next Unreal steps:
- Import
SK_Kamaz_Chassis.fbxas Skeletal Mesh. - Import module FBX files as Static Meshes, unless a module needs animation.
- Create PhysicsAsset for KAMAZ body and wheel collision.
- Create Chaos wheel classes for front/rear or each axle group.
- Create
BP_KamazBasewithChaosWheeledVehicleMovementComponent. - Attach module meshes to sockets from data assets.