set_vehicle_wheel_setup
Configure a vehicle wheel setup entry by index, specifying wheel class, bone, and offset. Resolves and loads the wheel class that generic property tools cannot reliably write.
Instructions
Configure ONE entry of a UChaosWheeledVehicleMovementComponent's WheelSetups array (wheel class, bone, offset) by index. USE THIS RATHER THAN the generic set_property_value / set_properties, which cannot reliably write the wheel class: it is a TSubclassOf nested in a struct nested in an array, and the generic path only FINDS an already-loaded class instead of loading it. This tool resolves the class explicitly and writes the whole struct element, growing the array to fit if wheel_index is past the end. READING them back needs no special tool -- the generic get_properties / get_property_value already resolves nested object refs correctly.
Returns: { actor_name: string, wheel_index: int, wheel_class: string, bone_name: string, additional_offset: {x,y,z}, num_wheels: int }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bone_name | No | Skeletal bone this wheel is attached to. Optional. | |
| actor_name | Yes | Editor-world actor with a UChaosWheeledVehicleMovementComponent | |
| wheel_class | Yes | Full class path of the UChaosVehicleWheel subclass, e.g. "/Script/ChaosVehicles.ChaosVehicleWheel" | |
| wheel_index | Yes | Index into WheelSetups (>= 0). The array grows to fit if this is past the current end. | |
| additional_offset | No | [x, y, z] additional offset applied to the wheel. Optional. |