summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorPouleyKetchoupp <pouleyketchoup@gmail.com>2021-03-11 18:15:31 -0700
committerPouleyKetchoupp <pouleyketchoup@gmail.com>2021-03-18 11:30:22 -0700
commit7bbd5454329e483c67f51dba960213da930bda1d (patch)
tree7a4f0c4adb1459e55d301885dbb6c0e07e801c38 /doc/classes
parentc097ce0c1843f71271b8af9a1291602b1aab7df6 (diff)
Disable backface collision with ConcavePolygonShape by default
Helps a lot with soft bodies and generally useful to avoid shapes to go through the ground in certain cases. Added an option in ConcavePolygonShape to re-enable backface collision on specific bodies if needed.
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/ConcavePolygonShape3D.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/classes/ConcavePolygonShape3D.xml b/doc/classes/ConcavePolygonShape3D.xml
index 3e83202472..a9687abedc 100644
--- a/doc/classes/ConcavePolygonShape3D.xml
+++ b/doc/classes/ConcavePolygonShape3D.xml
@@ -28,6 +28,11 @@
</description>
</method>
</methods>
+ <members>
+ <member name="backface_collision" type="bool" setter="set_backface_collision_enabled" getter="is_backface_collision_enabled" default="false">
+ If set to [code]true[/code], collisions occur on both sides of the concave shape faces. Otherwise they occur only along the face normals.
+ </member>
+ </members>
<constants>
</constants>
</class>