![]() |
Rigs of Rods 2023.09
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. | |
| float | damp_in |
| Damping value applied when the shock is compressing. | |
| float | spring_out |
| Spring value applied when shock extending. | |
| float | damp_out |
| Damping value applied when shock extending. | |
| float | damp_in_slow |
| Damping value applied when shock is commpressing slower than split in velocity. | |
| float | split_vel_in |
| Split velocity in (m/s) - threshold for slow / fast damping during compression. | |
| float | damp_in_fast |
| Damping value applied when shock is commpressing faster than split in velocity. | |
| float | damp_out_slow |
| Damping value applied when shock is commpressing slower than split out velocity. | |
| float | split_vel_out |
| Split velocity in (m/s) - threshold for slow / fast damping during extension. | |
| float | damp_out_fast |
| Damping value applied when shock is commpressing faster than split out velocity. | |
| float | short_bound |
| Maximum contraction limit, in percentage ( 1.00 = 100% ) | |
| float | long_bound |
| Maximum extension limit, in percentage ( 1.00 = 100% ) | |
| 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. | |
| 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 1117 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 1140 of file RigDef_File.h.
| float RigDef::Shock3::damp_in |
Damping value applied when the shock is compressing.
Definition at line 1127 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 1132 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 1130 of file RigDef_File.h.
| float RigDef::Shock3::damp_out |
Damping value applied when shock extending.
Definition at line 1129 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 1135 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 1133 of file RigDef_File.h.
| int RigDef::Shock3::detacher_group |
Definition at line 1141 of file RigDef_File.h.
| float RigDef::Shock3::long_bound |
Maximum extension limit, in percentage ( 1.00 = 100% )
Definition at line 1137 of file RigDef_File.h.
| Node::Ref RigDef::Shock3::nodes[2] |
Definition at line 1125 of file RigDef_File.h.
Definition at line 1121 of file RigDef_File.h.
Definition at line 1123 of file RigDef_File.h.
Definition at line 1122 of file RigDef_File.h.
| BitMask_t RigDef::Shock3::options |
Definition at line 1139 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 1138 of file RigDef_File.h.
| float RigDef::Shock3::short_bound |
Maximum contraction limit, in percentage ( 1.00 = 100% )
Definition at line 1136 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 1131 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 1134 of file RigDef_File.h.
| float RigDef::Shock3::spring_in |
Spring value applied when the shock is compressing.
Definition at line 1126 of file RigDef_File.h.
| float RigDef::Shock3::spring_out |
Spring value applied when shock extending.
Definition at line 1128 of file RigDef_File.h.