summaryrefslogtreecommitdiff
path: root/scene/3d/physics_body_3d.h
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-11-28 09:37:42 +0100
committerGitHub <noreply@github.com>2020-11-28 09:37:42 +0100
commit95572211bba2155a1315dbaf6e41735c10c0417b (patch)
tree9256ae85cd469f61ffb818753f66fd7e0a9bbcd4 /scene/3d/physics_body_3d.h
parent4a3588a51a9dfde3c8e1155aa2ab80c48cb0c19a (diff)
parent981fbcd3e066f92ce82c837c6a7895be42e3f5a0 (diff)
Merge pull request #43925 from madmiraal/fix-16039a
Remove RigidBody weight property
Diffstat (limited to 'scene/3d/physics_body_3d.h')
-rw-r--r--scene/3d/physics_body_3d.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/scene/3d/physics_body_3d.h b/scene/3d/physics_body_3d.h
index da947ba02e..58eebc90ce 100644
--- a/scene/3d/physics_body_3d.h
+++ b/scene/3d/physics_body_3d.h
@@ -185,9 +185,6 @@ public:
virtual float get_inverse_mass() const override { return 1.0 / mass; }
- void set_weight(real_t p_weight);
- real_t get_weight() const;
-
void set_physics_material_override(const Ref<PhysicsMaterial> &p_physics_material_override);
Ref<PhysicsMaterial> get_physics_material_override() const;
@@ -572,9 +569,6 @@ public:
void set_mass(real_t p_mass);
real_t get_mass() const;
- void set_weight(real_t p_weight);
- real_t get_weight() const;
-
void set_friction(real_t p_friction);
real_t get_friction() const;