3.6 KiB
3.6 KiB
UE 5.7 Chaos Vehicle From Blender Floats, Drives Backward, Or Wheels Do Not Animate
Date: 2026-05-26
Project: garage / kamaz5360
Environment: Blender 5.1, Unreal Engine 5.7, Windows qore
Symptoms
- KAMAZ truck spawned above the floor or appeared lifted above its wheels.
- Earlier iterations jumped on start, stood on its rear, or drove off/fell through the floor.
- Throttle drove the vehicle backward after import.
- Wheels did not visually rotate and steering wheels did not visually turn.
- User wanted no Unreal-side hacks; model/export should be corrected in Blender and reimported cleanly.
Root Causes
- Blender/Unreal forward axis was wrong until the model and bones were rotated 180 degrees around Z during Blender/export preparation.
- UE 5.7 Python import can route through Interchange; Interchange ignored
create_physics_asset, so automatic PhysicsAsset creation did not happen unless the legacy FBX importer was forced. - The correct wheel radius was already known from Blender (
107.6 cmdiameter,53.78 cmradius). Floating was not caused by wrong wheel diameter. - Large suspension drop/preload values caused Chaos to settle with excessive visual suspension travel.
- Removing Chaos wheel
LocOffsetfrom the vehicle animation made visual wheels stay at bind pose instead of following suspension.
Verified Solution
- Make Blender the source of truth for units, orientation, armature, and wheel bone positions.
- In Blender/export, verify
METRICandscale_length = 0.01; do not blindly apply export scale0.01. - Rotate mesh vertices and wheel bones 180 degrees around Z during Blender/export preparation so Unreal forward matches truck forward.
- Keep wheel bones named exactly:
wheel_front_leftwheel_front_rightwheel_rear_leftwheel_rear_right
- Import with standard Unreal FBX import, but force legacy importer:
UnrealEditor-Cmd.exe <project>.uproject -run=pythonscript -script=<import-script>.py -ExecCmds="Interchange.FeatureFlags.Import.FBX 0"
- Use
create_physics_asset = trueinFbxImportUI; let Unreal create the PhysicsAsset normally. - Keep
AdditionalOffset = FVector::ZeroVectorfor all wheels. - Keep
WheelData.LocOffsetin the custom vehicle anim instance; it is the normal Chaos suspension travel. - Tune suspension instead of wheel radius. Working KAMAZ values:
Front:
WheelRadius = 53.78f;
SuspensionMaxRaise = 24.0f;
SuspensionMaxDrop = 14.0f;
SpringRate = 8500.0f;
SpringPreload = 0.0f;
SuspensionDampingRatio = 0.78f;
MaxBrakeTorque = 28000.0f;
Rear:
WheelRadius = 53.78f;
SuspensionMaxRaise = 20.0f;
SuspensionMaxDrop = 16.0f;
SpringRate = 10500.0f;
SpringPreload = 0.0f;
SuspensionDampingRatio = 0.82f;
MaxBrakeTorque = 18000.0f;
Verification
The final diagnostic run wrote C:\git\kamaz5360\Saved\Logs\KamazRuntimeDebug.csv.
Known-good values:
- wheel bottoms settle near the floor, around
0.006 cm; - all four wheel contacts are stable for most frames (
1111); - vehicle drives under throttle;
- front wheels steer and wheels visually rotate;
- brake dive is present without returning to the old floating/jumping behavior.
Avoid
- Do not compensate with UE pawn rotation or nonzero wheel
AdditionalOffsetbefore fixing Blender/export. - Do not use
FPhysicsAssetUtils::CreateFromSkeletalMesh; the user explicitly rejected this workaround. - Do not remove wheel animation
LocOffset. - Do not assume floating means wheel radius is wrong; check Blender wheel diameter first.
- Do not leave auto-debug input enabled after diagnostics.
Detailed project-specific reconstruction notes: projects/garage/kamaz5360-chaos-vehicle.md.