summaryrefslogtreecommitdiff
path: root/servers/physics_2d/physics_server_2d_sw.h
diff options
context:
space:
mode:
authorrafallus <rafaelmtzg@gmail.com>2021-03-30 00:22:23 -0600
committerrafallus <rafaelmtzg@gmail.com>2021-04-22 23:20:58 -0500
commitcfa06f0f76c7ab5f77d5f3bb876132e3aa2cac5e (patch)
treee5ef2585bcb30f22773b16e92359ea3fcad7f465 /servers/physics_2d/physics_server_2d_sw.h
parent6cfbf3633883f2bd1088f050b8a5d9e0db622e90 (diff)
Unexpose _direct_state_changed in PhysicsBody
Removed _direct_state_changed bindings Affects 2D and 3D nodes Callbacks now use Callable Tests were changed accordingly
Diffstat (limited to 'servers/physics_2d/physics_server_2d_sw.h')
-rw-r--r--servers/physics_2d/physics_server_2d_sw.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/physics_2d/physics_server_2d_sw.h b/servers/physics_2d/physics_server_2d_sw.h
index 65c5df0fce..efa0784245 100644
--- a/servers/physics_2d/physics_server_2d_sw.h
+++ b/servers/physics_2d/physics_server_2d_sw.h
@@ -242,7 +242,7 @@ public:
virtual void body_set_max_contacts_reported(RID p_body, int p_contacts) override;
virtual int body_get_max_contacts_reported(RID p_body) const override;
- virtual void body_set_force_integration_callback(RID p_body, Object *p_receiver, const StringName &p_method, const Variant &p_udata = Variant()) override;
+ virtual void body_set_force_integration_callback(RID p_body, const Callable &p_callable, const Variant &p_udata = Variant()) override;
virtual bool body_collide_shape(RID p_body, int p_body_shape, RID p_shape, const Transform2D &p_shape_xform, const Vector2 &p_motion, Vector2 *r_results, int p_result_max, int &r_result_count) override;
virtual void body_set_pickable(RID p_body, bool p_pickable) override;