Merge pull request #106321 from elzewyr/shrink-factor

SoftBody3D: Add a property for scaling rest lengths of edge constraints
This commit is contained in:
Thaddeus Crews
2025-05-27 09:39:29 -05:00
19 changed files with 126 additions and 0 deletions

View File

@ -341,6 +341,9 @@ public:
virtual void soft_body_set_linear_stiffness(RID p_body, real_t p_stiffness) override {}
virtual real_t soft_body_get_linear_stiffness(RID p_body) const override { return 0; }
virtual void soft_body_set_shrinking_factor(RID p_body, real_t p_shrinking_factor) override {}
virtual real_t soft_body_get_shrinking_factor(RID p_body) const override { return 0; }
virtual void soft_body_set_pressure_coefficient(RID p_body, real_t p_pressure_coefficient) override {}
virtual real_t soft_body_get_pressure_coefficient(RID p_body) const override { return 0; }