Unexpose _direct_state_changed in PhysicsBody

Removed _direct_state_changed bindings
Affects 2D and 3D nodes
Callbacks now use Callable
Tests were changed accordingly
This commit is contained in:
rafallus 2021-03-30 00:22:23 -06:00
parent 6cfbf36338
commit cfa06f0f76
25 changed files with 64 additions and 83 deletions

View file

@ -659,11 +659,9 @@
</return>
<argument index="0" name="body" type="RID">
</argument>
<argument index="1" name="receiver" type="Object">
<argument index="1" name="callable" type="Callable">
</argument>
<argument index="2" name="method" type="StringName">
</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]).