From b9e75e50dc50ae49dc341069d2023add3eb7c4b8 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: Document automatic center mode using shape origins (cherry picked from commit 7b30d7da51e40a69b464e501dbc02fcaa99deb5b) --- doc/classes/RigidBody2D.xml | 2 +- doc/classes/RigidBody3D.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/classes/RigidBody2D.xml b/doc/classes/RigidBody2D.xml index 937d0910ec..17b5ce6c68 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 a066254b4f..917ffe0b99 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. -- cgit v1.2.3