SoftBody3D: Add a property for scaling rest lengths of edge constraints

This commit is contained in:
Elzewyr
2025-05-12 19:33:39 +03:00
parent 0d8f33a74a
commit 9f67bf96fa
19 changed files with 126 additions and 0 deletions

View File

@ -607,6 +607,9 @@ public:
virtual void soft_body_set_linear_stiffness(RID p_body, real_t p_stiffness) = 0;
virtual real_t soft_body_get_linear_stiffness(RID p_body) const = 0;
virtual void soft_body_set_shrinking_factor(RID p_body, real_t p_shrinking_factor) = 0;
virtual real_t soft_body_get_shrinking_factor(RID p_body) const = 0;
virtual void soft_body_set_pressure_coefficient(RID p_body, real_t p_pressure_coefficient) = 0;
virtual real_t soft_body_get_pressure_coefficient(RID p_body) const = 0;