summaryrefslogtreecommitdiffstats
path: root/doc/classes/TileSet.xml
diff options
context:
space:
mode:
authorDanni <34800072+KeyboardDanni@users.noreply.github.com>2024-11-02 15:37:49 -0400
committerDanni <34800072+KeyboardDanni@users.noreply.github.com>2024-11-02 15:37:49 -0400
commit3d132076b29bea8f93bf8e8fd3dbf648b7243cbd (patch)
tree2c8de2a1183795249392ad9b1cc1a8b4c39d8c85 /doc/classes/TileSet.xml
parentc6c464cf9ae56e8b68620af65125dd980d0e8122 (diff)
downloadredot-engine-3d132076b29bea8f93bf8e8fd3dbf648b7243cbd.tar.gz
Add collision priority property to TileSet physics layers
Diffstat (limited to 'doc/classes/TileSet.xml')
-rw-r--r--doc/classes/TileSet.xml19
1 files changed, 17 insertions, 2 deletions
diff --git a/doc/classes/TileSet.xml b/doc/classes/TileSet.xml
index 64cd4fb7b2..4c8d1952e5 100644
--- a/doc/classes/TileSet.xml
+++ b/doc/classes/TileSet.xml
@@ -218,6 +218,13 @@
Returns the collision mask of bodies on the given TileSet's physics layer.
</description>
</method>
+ <method name="get_physics_layer_collision_priority" qualifiers="const">
+ <return type="float" />
+ <param index="0" name="layer_index" type="int" />
+ <description>
+ Returns the collision priority of bodies on the given TileSet's physics layer.
+ </description>
+ </method>
<method name="get_physics_layer_physics_material" qualifiers="const">
<return type="PhysicsMaterial" />
<param index="0" name="layer_index" type="int" />
@@ -547,7 +554,7 @@
<param index="0" name="layer_index" type="int" />
<param index="1" name="layer" type="int" />
<description>
- Sets the physics layer (as in the physics server) for bodies in the given TileSet physics layer.
+ Sets the collision layer (as in the physics server) for bodies in the given TileSet physics layer.
</description>
</method>
<method name="set_physics_layer_collision_mask">
@@ -555,7 +562,15 @@
<param index="0" name="layer_index" type="int" />
<param index="1" name="mask" type="int" />
<description>
- Sets the physics layer (as in the physics server) for bodies in the given TileSet physics layer.
+ Sets the collision mask for bodies in the given TileSet physics layer.
+ </description>
+ </method>
+ <method name="set_physics_layer_collision_priority">
+ <return type="void" />
+ <param index="0" name="layer_index" type="int" />
+ <param index="1" name="priority" type="float" />
+ <description>
+ Sets the collision priority for bodies in the given TileSet physics layer.
</description>
</method>
<method name="set_physics_layer_physics_material">