This repository has been archived on 2026-07-09. You can view files and clone it, but cannot push or open issues or pull requests.
agent-knowledge-base-archived/problems/2026-05-26-ue57-chaos-vehicle-blender-wheel-suspension.md
2026-05-26 15:31:18 +03:00

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 cm diameter, 53.78 cm radius). 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 LocOffset from the vehicle animation made visual wheels stay at bind pose instead of following suspension.

Verified Solution

  1. Make Blender the source of truth for units, orientation, armature, and wheel bone positions.
  2. In Blender/export, verify METRIC and scale_length = 0.01; do not blindly apply export scale 0.01.
  3. Rotate mesh vertices and wheel bones 180 degrees around Z during Blender/export preparation so Unreal forward matches truck forward.
  4. Keep wheel bones named exactly:
    • wheel_front_left
    • wheel_front_right
    • wheel_rear_left
    • wheel_rear_right
  5. 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"
  1. Use create_physics_asset = true in FbxImportUI; let Unreal create the PhysicsAsset normally.
  2. Keep AdditionalOffset = FVector::ZeroVector for all wheels.
  3. Keep WheelData.LocOffset in the custom vehicle anim instance; it is the normal Chaos suspension travel.
  4. 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 AdditionalOffset before 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.