Add area_get_collision_layer and area_get_collision_mask

This commit is contained in:
Mansur Isaev
2022-09-23 10:06:29 +04:00
parent 15ac442247
commit efd4dc20a3
18 changed files with 128 additions and 11 deletions
+14
View File
@@ -53,6 +53,20 @@
<description>
</description>
</method>
<method name="area_get_collision_layer" qualifiers="const">
<return type="int" />
<param index="0" name="area" type="RID" />
<description>
Returns the physics layer or layers an area belongs to.
</description>
</method>
<method name="area_get_collision_mask" qualifiers="const">
<return type="int" />
<param index="0" name="area" type="RID" />
<description>
Returns the physics layer or layers an area can contact with.
</description>
</method>
<method name="area_get_object_instance_id" qualifiers="const">
<return type="int" />
<param index="0" name="area" type="RID" />