From 2909a93b0557159c7cdbbd5d7a49c686668b2827 Mon Sep 17 00:00:00 2001 From: Gabriel Date: Mon, 9 Feb 2026 14:38:26 -0300 Subject: [PATCH] Fixed documentation for get_velocity_at_local_position --- doc/classes/PhysicsDirectBodyState2D.xml | 3 ++- doc/classes/PhysicsDirectBodyState3D.xml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/doc/classes/PhysicsDirectBodyState2D.xml b/doc/classes/PhysicsDirectBodyState2D.xml index c7cca7d7bd..c9f75f97b4 100644 --- a/doc/classes/PhysicsDirectBodyState2D.xml +++ b/doc/classes/PhysicsDirectBodyState2D.xml @@ -196,7 +196,8 @@ - Returns the body's velocity at the given relative position, including both translation and rotation. + Returns the body's velocity at the given relative position. + [param local_position] is the offset from the body origin in global coordinates. diff --git a/doc/classes/PhysicsDirectBodyState3D.xml b/doc/classes/PhysicsDirectBodyState3D.xml index 76a5bdb5b9..53140299a6 100644 --- a/doc/classes/PhysicsDirectBodyState3D.xml +++ b/doc/classes/PhysicsDirectBodyState3D.xml @@ -196,7 +196,8 @@ - Returns the body's velocity at the given relative position, including both translation and rotation. + Returns the body's velocity at the given relative position. + [param local_position] is the offset from the body origin in global coordinates.