RigsofRods
Soft-body Physics Simulation
|
#include <RigDef_File.h>
Public Member Functions | |
Shock3 () | |
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 | spring_out |
Spring value applied when shock extending. More... | |
float | damp_out |
Damping value applied when shock extending. More... | |
float | damp_in_slow |
Damping value applied when shock is commpressing slower than split in velocity. More... | |
float | split_vel_in |
Split velocity in (m/s) - threshold for slow / fast damping during compression. More... | |
float | damp_in_fast |
Damping value applied when shock is commpressing faster than split in velocity. More... | |
float | damp_out_slow |
Damping value applied when shock is commpressing slower than split out velocity. More... | |
float | split_vel_out |
Split velocity in (m/s) - threshold for slow / fast damping during extension. More... | |
float | damp_out_fast |
Damping value applied when shock is commpressing faster than split out velocity. 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_m_METRIC = BITMASK(2) |
static const BitMask_t | OPTION_M_ABSOLUTE_METRIC = BITMASK(3) |
Definition at line 1224 of file RigDef_File.h.
RigDef::Shock3::Shock3 | ( | ) |
Definition at line 126 of file RigDef_File.cpp.
std::shared_ptr<BeamDefaults> RigDef::Shock3::beam_defaults |
Definition at line 1247 of file RigDef_File.h.
float RigDef::Shock3::damp_in |
Damping value applied when the shock is compressing.
Definition at line 1234 of file RigDef_File.h.
float RigDef::Shock3::damp_in_fast |
Damping value applied when shock is commpressing faster than split in velocity.
Definition at line 1239 of file RigDef_File.h.
float RigDef::Shock3::damp_in_slow |
Damping value applied when shock is commpressing slower than split in velocity.
Definition at line 1237 of file RigDef_File.h.
float RigDef::Shock3::damp_out |
Damping value applied when shock extending.
Definition at line 1236 of file RigDef_File.h.
float RigDef::Shock3::damp_out_fast |
Damping value applied when shock is commpressing faster than split out velocity.
Definition at line 1242 of file RigDef_File.h.
float RigDef::Shock3::damp_out_slow |
Damping value applied when shock is commpressing slower than split out velocity.
Definition at line 1240 of file RigDef_File.h.
int RigDef::Shock3::detacher_group |
Definition at line 1248 of file RigDef_File.h.
float RigDef::Shock3::long_bound |
Maximum extension limit, in percentage ( 1.00 = 100% )
Definition at line 1244 of file RigDef_File.h.
Node::Ref RigDef::Shock3::nodes[2] |
Definition at line 1232 of file RigDef_File.h.
Definition at line 1228 of file RigDef_File.h.
Definition at line 1230 of file RigDef_File.h.
Definition at line 1229 of file RigDef_File.h.
BitMask_t RigDef::Shock3::options |
Definition at line 1246 of file RigDef_File.h.
float RigDef::Shock3::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 1245 of file RigDef_File.h.
float RigDef::Shock3::short_bound |
Maximum contraction limit, in percentage ( 1.00 = 100% )
Definition at line 1243 of file RigDef_File.h.
float RigDef::Shock3::split_vel_in |
Split velocity in (m/s) - threshold for slow / fast damping during compression.
Definition at line 1238 of file RigDef_File.h.
float RigDef::Shock3::split_vel_out |
Split velocity in (m/s) - threshold for slow / fast damping during extension.
Definition at line 1241 of file RigDef_File.h.
float RigDef::Shock3::spring_in |
Spring value applied when the shock is compressing.
Definition at line 1233 of file RigDef_File.h.
float RigDef::Shock3::spring_out |
Spring value applied when shock extending.
Definition at line 1235 of file RigDef_File.h.