![]() |
RigsofRods
2023.09
Soft-body Physics Simulation
|
Simulation: An edge in the softbody structure. More...
#include <SimData.h>
Public Member Functions | |
| beam_t () | |
| ~beam_t () | |
Data Fields | |
| node_t * | p1 = nullptr |
| node_t * | p2 = nullptr |
| float | k = 0.f |
| tensile spring More... | |
| float | d = 0.f |
| damping factor More... | |
| float | L = 0.f |
| length More... | |
| float | minmaxposnegstress = 0.f |
| float | maxposstress = 0.f |
| float | maxnegstress = 0.f |
| float | strength = 0.f |
| float | stress = 0.f |
| float | plastic_coef = 0.f |
| int | detacher_group = DEFAULT_DETACHER_GROUP |
| Attribute: detacher group number (integer) More... | |
| SpecialBeam | bounded = SpecialBeam::NOSHOCK |
| BeamType | bm_type = BeamType::BEAM_NORMAL |
| bool | bm_inter_actor = false |
| in case p2 is on another actor More... | |
| ActorPtr | bm_locked_actor |
| in case p2 is on another actor More... | |
| bool | bm_disabled = false |
| bool | bm_broken = false |
| float | shortbound = 0.f |
| float | longbound = 0.f |
| float | refL = 0.f |
| reference length More... | |
| shock_t * | shock = nullptr |
| float | initial_beam_strength = 0.f |
| for reset More... | |
| float | default_beam_deform = 0.f |
| for reset More... | |
| float | default_beam_diameter = 0.f |
| for export only More... | |
| float | debug_k = 0.f |
| debug shock spring_rate More... | |
| float | debug_d = 0.f |
| debug shock damping More... | |
| float | debug_v = 0.f |
| debug shock velocity More... | |
| beam_t::beam_t | ( | ) |
Definition at line 42 of file SimData.cpp.
| beam_t::~beam_t | ( | ) |
Definition at line 47 of file SimData.cpp.
| bool RoR::beam_t::bm_inter_actor = false |
| ActorPtr RoR::beam_t::bm_locked_actor |
| SpecialBeam RoR::beam_t::bounded = SpecialBeam::NOSHOCK |
| float RoR::beam_t::default_beam_diameter = 0.f |
| int RoR::beam_t::detacher_group = DEFAULT_DETACHER_GROUP |
1.8.17