mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
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:
@@ -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" />
|
||||
|
||||
Reference in New Issue
Block a user