summaryrefslogtreecommitdiff
path: root/scene/3d/soft_body.h
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-02-09 16:05:19 +0100
committerGitHub <noreply@github.com>2020-02-09 16:05:19 +0100
commitd617df5f3460a2bb55ce41497fdc24a885bf746c (patch)
treefb27a75bfbae61b60acc6a875b5aeb1cd2567180 /scene/3d/soft_body.h
parentcedf9f68b16d0c650356d001de8e755b2eabfd3b (diff)
parentca7ee56759b385f32ff46342f85fa249e250ca40 (diff)
Merge pull request #36048 from AndreaCatania/SoftBodyStiff
Make softbody completelly stiff to attachment point
Diffstat (limited to 'scene/3d/soft_body.h')
-rw-r--r--scene/3d/soft_body.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/scene/3d/soft_body.h b/scene/3d/soft_body.h
index 629c2e42a5..800db12594 100644
--- a/scene/3d/soft_body.h
+++ b/scene/3d/soft_body.h
@@ -116,10 +116,11 @@ protected:
virtual String get_configuration_warning() const;
protected:
+ void _update_physics_server();
void _draw_soft_mesh();
public:
- void update_physics_server();
+ void prepare_physics_server();
void become_mesh_owner();
void set_collision_mask(uint32_t p_mask);