From 7b30d7da51e40a69b464e501dbc02fcaa99deb5b Mon Sep 17 00:00:00 2001
From: Winston <44872771+winston-yallow@users.noreply.github.com>
Date: Wed, 26 Apr 2023 02:31:40 +0200
Subject: [PATCH] Document automatic center mode using shape origins
---
doc/classes/RigidBody2D.xml | 2 +-
doc/classes/RigidBody3D.xml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc/classes/RigidBody2D.xml b/doc/classes/RigidBody2D.xml
index 38334b13481..24372e51e0c 100644
--- a/doc/classes/RigidBody2D.xml
+++ b/doc/classes/RigidBody2D.xml
@@ -283,7 +283,7 @@
Kinematic body freeze mode. Similar to [constant FREEZE_MODE_STATIC], but collides with other bodies along its path when moved. Useful for a frozen body that needs to be animated.
- In this mode, the body's center of mass is calculated automatically based on its shapes.
+ In this mode, the body's center of mass is calculated automatically based on its shapes. This assumes that the shapes' origins are also their center of mass.
In this mode, the body's center of mass is set through [member center_of_mass]. Defaults to the body's origin position.
diff --git a/doc/classes/RigidBody3D.xml b/doc/classes/RigidBody3D.xml
index f087f912bc9..3bd660d8dd7 100644
--- a/doc/classes/RigidBody3D.xml
+++ b/doc/classes/RigidBody3D.xml
@@ -290,7 +290,7 @@
Kinematic body freeze mode. Similar to [constant FREEZE_MODE_STATIC], but collides with other bodies along its path when moved. Useful for a frozen body that needs to be animated.
- In this mode, the body's center of mass is calculated automatically based on its shapes.
+ In this mode, the body's center of mass is calculated automatically based on its shapes. This assumes that the shapes' origins are also their center of mass.
In this mode, the body's center of mass is set through [member center_of_mass]. Defaults to the body's origin position.