From af76e5fddc6cdda57962844d6648e06e927af1ac Mon Sep 17 00:00:00 2001 From: Austin Tasato Date: Wed, 1 Sep 2021 05:57:35 -0700 Subject: [PATCH] Add "Physics intro" docs link for State classes (cherry picked from commit ce8eb09a25874c46370541fbd9e91a198dabf04b) --- doc/classes/Physics2DDirectBodyState.xml | 3 ++- doc/classes/Physics2DDirectSpaceState.xml | 3 ++- doc/classes/PhysicsDirectBodyState.xml | 2 ++ doc/classes/PhysicsDirectSpaceState.xml | 3 ++- 4 files changed, 8 insertions(+), 3 deletions(-) diff --git a/doc/classes/Physics2DDirectBodyState.xml b/doc/classes/Physics2DDirectBodyState.xml index 1202f77e1e7..ec85ae0cedc 100644 --- a/doc/classes/Physics2DDirectBodyState.xml +++ b/doc/classes/Physics2DDirectBodyState.xml @@ -7,7 +7,8 @@ Provides direct access to a physics body in the [Physics2DServer], allowing safe changes to physics properties. This object is passed via the direct state callback of rigid/character bodies, and is intended for changing the direct state of that body. See [method RigidBody2D._integrate_forces]. - https://docs.godotengine.org/en/3.4/tutorials/physics/ray-casting.html + https://docs.godotengine.org/en/3.4/tutorials/physics/physics_introduction.html + https://docs.godotengine.org/en/3.4/tutorials/physics/ray-casting.html diff --git a/doc/classes/Physics2DDirectSpaceState.xml b/doc/classes/Physics2DDirectSpaceState.xml index 5f64103f727..6cc61535f5b 100644 --- a/doc/classes/Physics2DDirectSpaceState.xml +++ b/doc/classes/Physics2DDirectSpaceState.xml @@ -7,7 +7,8 @@ Direct access object to a space in the [Physics2DServer]. It's used mainly to do queries against objects and areas residing in a given space. - https://docs.godotengine.org/en/3.4/tutorials/physics/ray-casting.html + https://docs.godotengine.org/en/3.4/tutorials/physics/physics_introduction.html + https://docs.godotengine.org/en/3.4/tutorials/physics/ray-casting.html diff --git a/doc/classes/PhysicsDirectBodyState.xml b/doc/classes/PhysicsDirectBodyState.xml index 4d3f77bb496..d4bc395305e 100644 --- a/doc/classes/PhysicsDirectBodyState.xml +++ b/doc/classes/PhysicsDirectBodyState.xml @@ -7,6 +7,8 @@ Provides direct access to a physics body in the [PhysicsServer], allowing safe changes to physics properties. This object is passed via the direct state callback of rigid/character bodies, and is intended for changing the direct state of that body. See [method RigidBody._integrate_forces]. + https://docs.godotengine.org/en/3.4/tutorials/physics/physics_introduction.html + https://docs.godotengine.org/en/3.4/tutorials/physics/ray-casting.html diff --git a/doc/classes/PhysicsDirectSpaceState.xml b/doc/classes/PhysicsDirectSpaceState.xml index 903b4ef998b..f8228230a4f 100644 --- a/doc/classes/PhysicsDirectSpaceState.xml +++ b/doc/classes/PhysicsDirectSpaceState.xml @@ -7,7 +7,8 @@ Direct access object to a space in the [PhysicsServer]. It's used mainly to do queries against objects and areas residing in a given space. - https://docs.godotengine.org/en/3.4/tutorials/physics/ray-casting.html + https://docs.godotengine.org/en/3.4/tutorials/physics/physics_introduction.html + https://docs.godotengine.org/en/3.4/tutorials/physics/ray-casting.html