diff options
author | rafallus <rafaelmtzg@gmail.com> | 2021-03-30 00:22:23 -0600 |
---|---|---|
committer | rafallus <rafaelmtzg@gmail.com> | 2021-04-22 23:20:58 -0500 |
commit | cfa06f0f76c7ab5f77d5f3bb876132e3aa2cac5e (patch) | |
tree | e5ef2585bcb30f22773b16e92359ea3fcad7f465 /doc/classes | |
parent | 6cfbf3633883f2bd1088f050b8a5d9e0db622e90 (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 'doc/classes')
-rw-r--r-- | doc/classes/PhysicsServer2D.xml | 6 | ||||
-rw-r--r-- | doc/classes/PhysicsServer3D.xml | 6 |
2 files changed, 4 insertions, 8 deletions
diff --git a/doc/classes/PhysicsServer2D.xml b/doc/classes/PhysicsServer2D.xml index 701a430538..229facd08b 100644 --- a/doc/classes/PhysicsServer2D.xml +++ b/doc/classes/PhysicsServer2D.xml @@ -659,11 +659,9 @@ </return> <argument index="0" name="body" type="RID"> </argument> - <argument index="1" name="receiver" type="Object"> - </argument> - <argument index="2" name="method" type="StringName"> + <argument index="1" name="callable" type="Callable"> </argument> - <argument index="3" name="userdata" type="Variant" default="null"> + <argument index="2" name="userdata" type="Variant" default="null"> </argument> <description> Sets the function used to calculate physics for an object, if that object allows it (see [method body_set_omit_force_integration]). diff --git a/doc/classes/PhysicsServer3D.xml b/doc/classes/PhysicsServer3D.xml index c61347ba0b..46de9e5282 100644 --- a/doc/classes/PhysicsServer3D.xml +++ b/doc/classes/PhysicsServer3D.xml @@ -653,11 +653,9 @@ </return> <argument index="0" name="body" type="RID"> </argument> - <argument index="1" name="receiver" type="Object"> - </argument> - <argument index="2" name="method" type="StringName"> + <argument index="1" name="callable" type="Callable"> </argument> - <argument index="3" name="userdata" type="Variant" default="null"> + <argument index="2" name="userdata" type="Variant" default="null"> </argument> <description> Sets the function used to calculate physics for an object, if that object allows it (see [method body_set_omit_force_integration]). |