From eb88aef537bf7206340e9e64ecf85eb9585ff53b Mon Sep 17 00:00:00 2001
From: smix8 <52464204+smix8@users.noreply.github.com>
Date: Mon, 19 Dec 2022 19:01:27 +0100
Subject: Add GridMap collision_priority
Adds property 'collision_priority' for all physics bodies of the entire GridMap.
---
modules/gridmap/doc_classes/GridMap.xml | 3 +++
1 file changed, 3 insertions(+)
(limited to 'modules/gridmap/doc_classes')
diff --git a/modules/gridmap/doc_classes/GridMap.xml b/modules/gridmap/doc_classes/GridMap.xml
index bd5c938364..686ba4dad6 100644
--- a/modules/gridmap/doc_classes/GridMap.xml
+++ b/modules/gridmap/doc_classes/GridMap.xml
@@ -226,6 +226,9 @@
The physics layers this GridMap detects collisions in. See [url=$DOCS_URL/tutorials/physics/physics_introduction.html#collision-layers-and-masks]Collision layers and masks[/url] in the documentation for more information.
+
+ The priority used to solve colliding when occurring penetration. The higher the priority is, the lower the penetration into the object will be. This can for example be used to prevent the player from breaking through the boundaries of a level.
+
The assigned [MeshLibrary].
--
cgit v1.2.3