Advanced Suspension Maker SDK

Build custom, fully-animated suspension for CarX Drift Racing Online

Hub Arm Shock Axle

Get started Browse tutorials View on GitHub

Cantilever / pushrod (inboard shock)

The shock is mounted inboard (on the chassis), driven by a pushrod and a rocker (bellcrank). The wheel pushes the pushrod, the pushrod swings the rocker, and the rocker compresses the inboard shock. It’s the most “mechanism-y” type — the trick is that the rocker carries both of its joints as children, so when it swings, the pushrod stays attached and the shock compresses.

Cantilever / pushrod

Parts → roles

Real part Marker Role Settings
upright XX_Hub Hub Wheel Rotation = SteerCamber
upper + lower wishbones XX_UpperArm, XX_LowerArm Arm like a wishbone corner
pushrod XX_Pushrod Arm Inner Pivot = lower ball joint (on hub) · Outer Target = XX_Rocker_in · Telescopes ON
rocker / bellcrank XX_Rocker Arm Inner Pivot = rocker pivot (fixed) · Outer Target = XX_Push_drive (a marker on the hub)
inboard shock XX_Spring Shock Tophat = chassis · Lower Mount = XX_Shock_low (on the rocker) · Spring Bone · Body Anchored At Tophat = ON

Hierarchy — note the rocker’s children

XX
├── XX_Hub                Hub · SteerCamber
│   ├── XX_LowerArm_end    (no component)
│   ├── XX_UpperArm_end    (no component)
│   └── XX_Push_drive      (no component — what the rocker aims at, so it swings with travel)
├── XX_UpperArm / XX_LowerArm    (Arms)
├── XX_Pushrod            Arm → XX_Rocker_in
├── XX_Rocker             Arm → XX_Push_drive          (pivot = the fixed rocker pivot)
│   ├── XX_Rocker_in       (no component — pushrod's Outer Target)
│   └── XX_Shock_low       (no component — Shock's Lower Mount)
├── XX_Tophat             (Shock Tophat — fixed)
└── XX_Spring             Shock

How the chain works

  1. Rocker is an Arm pinned at its fixed pivot, aiming at XX_Push_drive (a marker on the hub). As the wheel travels, that marker moves, so the rocker swings — this is what drives the mechanism.
  2. The rocker’s two joints, XX_Rocker_in (pushrod end) and XX_Shock_low (shock end), are children of the rocker, so they swing with it.
  3. The pushrod (Arm, Telescopes ON) connects the hub’s lower joint to XX_Rocker_in, staying attached as the rocker moves.
  4. The shock spans the fixed Tophat to XX_Shock_low on the rocker → it compresses as the rocker swings.

Type gotchas