From 981fbcd3e066f92ce82c837c6a7895be42e3f5a0 Mon Sep 17 00:00:00 2001 From: Marcel Admiraal Date: Fri, 27 Nov 2020 17:39:20 +0000 Subject: Remove RigidBody weight property --- scene/3d/physics_body_3d.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'scene/3d/physics_body_3d.h') 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 &p_physics_material_override); Ref 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; -- cgit v1.2.3