diff options
author | Juan Linietsky <reduzio@gmail.com> | 2021-08-31 14:30:17 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-31 14:30:17 -0300 |
commit | 794606657745e77b89523f19c5e3b69c838f0cb7 (patch) | |
tree | 35126d4c7cf99e3c5e4b4bea2734682f96ee3a2c /servers/physics_2d/physics_server_2d_wrap_mt.h | |
parent | 0ee1179c1cce87c77efe70cd78399525444d587b (diff) | |
parent | 6a9ed72185a910f803fff91ef1f408ad91884d20 (diff) |
Merge pull request #49471 from nekomatata/body-state-sync-callback
Clean physics direct body state usage in 2D and 3D physics
Diffstat (limited to 'servers/physics_2d/physics_server_2d_wrap_mt.h')
-rw-r--r-- | servers/physics_2d/physics_server_2d_wrap_mt.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/servers/physics_2d/physics_server_2d_wrap_mt.h b/servers/physics_2d/physics_server_2d_wrap_mt.h index 05d4ac64b0..6761e37daa 100644 --- a/servers/physics_2d/physics_server_2d_wrap_mt.h +++ b/servers/physics_2d/physics_server_2d_wrap_mt.h @@ -245,6 +245,7 @@ public: FUNC2(body_set_omit_force_integration, RID, bool); FUNC1RC(bool, body_is_omitting_force_integration, RID); + FUNC3(body_set_state_sync_callback, RID, void *, BodyStateCallback); FUNC3(body_set_force_integration_callback, RID, const Callable &, const Variant &); 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 { |