summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-04-13 09:27:56 +0200
committerGitHub <noreply@github.com>2022-04-13 09:27:56 +0200
commit8904731b8b0a8560c43a8b6680546d8f67f47bb7 (patch)
tree51e96ffbcbdc12932637b191f1d51c8920e057c1
parent43305c6b799efbc373799facbff432120f8e3705 (diff)
parentb9c91d620e829f2f4cea8037492ed6939e4aad87 (diff)
Merge pull request #60012 from Sauermann/fix-collisionobject-canvas-doc
-rw-r--r--doc/classes/CollisionObject2D.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/classes/CollisionObject2D.xml b/doc/classes/CollisionObject2D.xml
index 99bf9f7853..5d025985cc 100644
--- a/doc/classes/CollisionObject2D.xml
+++ b/doc/classes/CollisionObject2D.xml
@@ -5,6 +5,7 @@
</brief_description>
<description>
CollisionObject2D is the base class for 2D physics objects. It can hold any number of 2D collision [Shape2D]s. Each shape must be assigned to a [i]shape owner[/i]. The CollisionObject2D can have any number of shape owners. Shape owners are not nodes and do not appear in the editor, but are accessible through code using the [code]shape_owner_*[/code] methods.
+ [b]Note:[/b] Only collisions between objects within the same canvas ([Viewport] canvas or [CanvasLayer]) are supported. The behavior of collisions between objects in different canvases is undefined.
</description>
<tutorials>
</tutorials>