![]() |
Rigs of Rods 2023.09
Soft-body Physics Simulation
|
#include <Differentials.h>
Public Member Functions | |
| TransferCase (int a1, int a2, bool has_2wd, bool has_2wd_lo, std::vector< float > grs) | |
Data Fields | |
| int | tr_ax_1 |
| This axle is always driven. | |
| int | tr_ax_2 |
| This axle is only driven in 4WD mode. | |
| bool | tr_2wd |
| Does it support 2WD mode? | |
| bool | tr_2wd_lo |
| Does it support 2WD Lo mode? | |
| bool | tr_4wd_mode |
| Enables 4WD mode. | |
| std::vector< float > | tr_gear_ratios |
| Gear reduction ratios. | |
Definition at line 42 of file Differentials.h.
|
inline |
Definition at line 45 of file Differentials.h.
| bool RoR::TransferCase::tr_2wd |
Does it support 2WD mode?
Definition at line 50 of file Differentials.h.
| bool RoR::TransferCase::tr_2wd_lo |
Does it support 2WD Lo mode?
Definition at line 51 of file Differentials.h.
| bool RoR::TransferCase::tr_4wd_mode |
Enables 4WD mode.
Definition at line 52 of file Differentials.h.
| int RoR::TransferCase::tr_ax_1 |
This axle is always driven.
Definition at line 48 of file Differentials.h.
| int RoR::TransferCase::tr_ax_2 |
This axle is only driven in 4WD mode.
Definition at line 49 of file Differentials.h.
| std::vector<float> RoR::TransferCase::tr_gear_ratios |
Gear reduction ratios.
Definition at line 53 of file Differentials.h.