RigsofRods
Soft-body Physics Simulation
|
#include <RigDef_File.h>
Public Member Functions | |
Shock2 () | |
Data Fields | |
Node::Ref | nodes [2] |
float | spring_in |
Spring value applied when the shock is compressing. More... | |
float | damp_in |
Damping value applied when the shock is compressing. More... | |
float | progress_factor_spring_in |
Progression factor for springin. A value of 0 disables this option. 1...x as multipliers, example:maximum springrate == springrate + (factor*springrate) More... | |
float | progress_factor_damp_in |
Progression factor for dampin. 0 = disabled, 1...x as multipliers, example:maximum dampingrate == springrate + (factor*dampingrate) More... | |
float | spring_out |
spring value applied when shock extending More... | |
float | damp_out |
damping value applied when shock extending More... | |
float | progress_factor_spring_out |
Progression factor springout, 0 = disabled, 1...x as multipliers, example:maximum springrate == springrate + (factor*springrate) More... | |
float | progress_factor_damp_out |
Progression factor dampout, 0 = disabled, 1...x as multipliers, example:maximum dampingrate == springrate + (factor*dampingrate) More... | |
float | short_bound |
Maximum contraction limit, in percentage ( 1.00 = 100% ) More... | |
float | long_bound |
Maximum extension limit, in percentage ( 1.00 = 100% ) More... | |
float | precompression |
Changes compression or extension of the suspension when the truck spawns. This can be used to "level" the suspension of a truck if it sags in game. The default value is 1.0. More... | |
BitMask_t | options |
std::shared_ptr< BeamDefaults > | beam_defaults |
int | detacher_group |
Static Public Attributes | |
static const BitMask_t | OPTION_i_INVISIBLE = BITMASK(1) |
static const BitMask_t | OPTION_s_SOFT_BUMP_BOUNDS = BITMASK(2) |
static const BitMask_t | OPTION_m_METRIC = BITMASK(3) |
static const BitMask_t | OPTION_M_ABSOLUTE_METRIC = BITMASK(4) |
Definition at line 1198 of file RigDef_File.h.
RigDef::Shock2::Shock2 | ( | ) |
Definition at line 110 of file RigDef_File.cpp.
std::shared_ptr<BeamDefaults> RigDef::Shock2::beam_defaults |
Definition at line 1220 of file RigDef_File.h.
float RigDef::Shock2::damp_in |
Damping value applied when the shock is compressing.
Definition at line 1209 of file RigDef_File.h.
float RigDef::Shock2::damp_out |
damping value applied when shock extending
Definition at line 1213 of file RigDef_File.h.
int RigDef::Shock2::detacher_group |
Definition at line 1221 of file RigDef_File.h.
float RigDef::Shock2::long_bound |
Maximum extension limit, in percentage ( 1.00 = 100% )
Definition at line 1217 of file RigDef_File.h.
Node::Ref RigDef::Shock2::nodes[2] |
Definition at line 1207 of file RigDef_File.h.
Definition at line 1202 of file RigDef_File.h.
Definition at line 1205 of file RigDef_File.h.
Definition at line 1204 of file RigDef_File.h.
Definition at line 1203 of file RigDef_File.h.
BitMask_t RigDef::Shock2::options |
Definition at line 1219 of file RigDef_File.h.
float RigDef::Shock2::precompression |
Changes compression or extension of the suspension when the truck spawns. This can be used to "level" the suspension of a truck if it sags in game. The default value is 1.0.
Definition at line 1218 of file RigDef_File.h.
float RigDef::Shock2::progress_factor_damp_in |
Progression factor for dampin. 0 = disabled, 1...x as multipliers, example:maximum dampingrate == springrate + (factor*dampingrate)
Definition at line 1211 of file RigDef_File.h.
float RigDef::Shock2::progress_factor_damp_out |
Progression factor dampout, 0 = disabled, 1...x as multipliers, example:maximum dampingrate == springrate + (factor*dampingrate)
Definition at line 1215 of file RigDef_File.h.
float RigDef::Shock2::progress_factor_spring_in |
Progression factor for springin. A value of 0 disables this option. 1...x as multipliers, example:maximum springrate == springrate + (factor*springrate)
Definition at line 1210 of file RigDef_File.h.
float RigDef::Shock2::progress_factor_spring_out |
Progression factor springout, 0 = disabled, 1...x as multipliers, example:maximum springrate == springrate + (factor*springrate)
Definition at line 1214 of file RigDef_File.h.
float RigDef::Shock2::short_bound |
Maximum contraction limit, in percentage ( 1.00 = 100% )
Definition at line 1216 of file RigDef_File.h.
float RigDef::Shock2::spring_in |
Spring value applied when the shock is compressing.
Definition at line 1208 of file RigDef_File.h.
float RigDef::Shock2::spring_out |
spring value applied when shock extending
Definition at line 1212 of file RigDef_File.h.