Safe margin cleanup
Safe margin property on CharacterBody only, used as argument in move_and_collide. Removed kinematic_safe_margin in 3D physics server, not really useful and now harmonized with 2D.
This commit is contained in:
@@ -443,14 +443,6 @@
|
||||
Returns the [PhysicsDirectBodyState3D] of the body.
|
||||
</description>
|
||||
</method>
|
||||
<method name="body_get_kinematic_safe_margin" qualifiers="const">
|
||||
<return type="float">
|
||||
</return>
|
||||
<argument index="0" name="body" type="RID">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="body_get_max_contacts_reported" qualifiers="const">
|
||||
<return type="int">
|
||||
</return>
|
||||
@@ -661,16 +653,6 @@
|
||||
Sets the function used to calculate physics for an object, if that object allows it (see [method body_set_omit_force_integration]).
|
||||
</description>
|
||||
</method>
|
||||
<method name="body_set_kinematic_safe_margin">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="body" type="RID">
|
||||
</argument>
|
||||
<argument index="1" name="margin" type="float">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="body_set_max_contacts_reported">
|
||||
<return type="void">
|
||||
</return>
|
||||
|
||||
Reference in New Issue
Block a user