Land vehicle feat Simulates tyre pressurization by adjusting springness of in-wheel beams.
More...
#include <TyrePressure.h>
Land vehicle feat Simulates tyre pressurization by adjusting springness of in-wheel beams.
Definition at line 41 of file TyrePressure.h.
◆ TyrePressure()
RoR::TyrePressure::TyrePressure |
( |
ActorPtr |
a | ) |
|
|
inline |
◆ AddBeam()
void RoR::TyrePressure::AddBeam |
( |
int |
beam_id | ) |
|
|
inline |
◆ GetCurPressure()
float RoR::TyrePressure::GetCurPressure |
( |
| ) |
const |
|
inline |
◆ IsEnabled()
bool RoR::TyrePressure::IsEnabled |
( |
| ) |
const |
|
inline |
◆ IsPressurizing()
bool RoR::TyrePressure::IsPressurizing |
( |
| ) |
const |
|
inline |
◆ ModifyTyrePressure()
bool TyrePressure::ModifyTyrePressure |
( |
float |
v | ) |
|
◆ UpdateInputEvents()
void TyrePressure::UpdateInputEvents |
( |
float |
dt | ) |
|
◆ m_actor
◆ m_pressure_beams
std::vector<int> RoR::TyrePressure::m_pressure_beams |
|
private |
◆ m_pressure_pressed
bool RoR::TyrePressure::m_pressure_pressed = false |
|
private |
◆ m_pressure_pressed_timer
float RoR::TyrePressure::m_pressure_pressed_timer = 0.f |
|
private |
◆ m_ref_tyre_pressure
float RoR::TyrePressure::m_ref_tyre_pressure = 50.f |
|
private |
The documentation for this class was generated from the following files: