Remove shape metadata from 2D physics server

Shape metadata was only used to get tile information when colliding with
tilemaps. It's not needed anymore since there's an API in tilemap using
body ids instead.
This commit is contained in:
PouleyKetchoupp
2021-09-30 10:45:36 -07:00
parent 767bde8c28
commit d0ec46be68
21 changed files with 0 additions and 129 deletions

View File

@@ -90,13 +90,6 @@
Returns the collider's shape index.
</description>
</method>
<method name="get_contact_collider_shape_metadata" qualifiers="const">
<return type="Variant" />
<argument index="0" name="contact_idx" type="int" />
<description>
Returns the collided shape's metadata. This metadata is different from [method Object.get_meta], and is set with [method PhysicsServer2D.shape_set_data].
</description>
</method>
<method name="get_contact_collider_velocity_at_position" qualifiers="const">
<return type="Vector2" />
<argument index="0" name="contact_idx" type="int" />