Shaft
Simple rotational connection between powertrain components. Transmits torque and speed with configurable friction and inertia. Used for driveshafts, half-shafts, and axles.
Simple rotational connection between powertrain components. Transmits torque and speed with configurable friction and inertia properties. Used for driveshafts, half-shafts, axles, and any direct mechanical connection in the powertrain.
Inherited Methods
This device inherits all methods and properties from the Powertrain Base Device.
Public API
| Variable | Type | Description |
|---|---|---|
outputPorts | table | Map of active output ports (single output). |
deviceCategories | table | Categories identifying this as a shaft type device. |
Usage Example
-- Access a driveshaft
local driveshaft = powertrain.getDevice("driveshaft")
-- Check rotational speed
local rpm = driveshaft.outputAV1 * 9.549See Also
- Split Shaft — Shaft with two outputs
- Multi-Shaft — Shaft with multiple outputs
- Differential — Speed-compensating power split
- Powertrain Base Device — Inherited base methods
Sequential Gearbox
High-performance sequential transmission for rapid gear changes. Supports dog-ring engagement, flat-shift capability, and gear whine audio simulation.
Split Shaft
Powertrain device that splits rotational power into two output paths. Used for driving two systems from a single input, such as front and rear axles from a transfer case.