RigsofRods
Soft-body Physics Simulation
Public Member Functions | Data Fields
RoR::TransferCase Class Reference

#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. More...
 
int tr_ax_2
 This axle is only driven in 4WD mode. More...
 
bool tr_2wd
 Does it support 2WD mode? More...
 
bool tr_2wd_lo
 Does it support 2WD Lo mode? More...
 
bool tr_4wd_mode
 Enables 4WD mode. More...
 
std::vector< float > tr_gear_ratios
 Gear reduction ratios. More...
 

Detailed Description

Definition at line 43 of file Differentials.h.

Constructor & Destructor Documentation

◆ TransferCase()

RoR::TransferCase::TransferCase ( int  a1,
int  a2,
bool  has_2wd,
bool  has_2wd_lo,
std::vector< float >  grs 
)
inline

Definition at line 46 of file Differentials.h.

Field Documentation

◆ tr_2wd

bool RoR::TransferCase::tr_2wd

Does it support 2WD mode?

Definition at line 51 of file Differentials.h.

◆ tr_2wd_lo

bool RoR::TransferCase::tr_2wd_lo

Does it support 2WD Lo mode?

Definition at line 52 of file Differentials.h.

◆ tr_4wd_mode

bool RoR::TransferCase::tr_4wd_mode

Enables 4WD mode.

Definition at line 53 of file Differentials.h.

◆ tr_ax_1

int RoR::TransferCase::tr_ax_1

This axle is always driven.

Definition at line 47 of file Differentials.h.

◆ tr_ax_2

int RoR::TransferCase::tr_ax_2

This axle is only driven in 4WD mode.

Definition at line 50 of file Differentials.h.

◆ tr_gear_ratios

std::vector<float> RoR::TransferCase::tr_gear_ratios

Gear reduction ratios.

Definition at line 54 of file Differentials.h.


The documentation for this class was generated from the following file: