Merge pull request #104533 from leandro-benedet-garcia/doc-change

Add clarifications to PhysicsDirectSpaceState docs on how to get their instance
This commit is contained in:
Rémi Verschelde
2025-06-05 13:10:40 +02:00
2 changed files with 2 additions and 0 deletions

View File

@ -5,6 +5,7 @@
</brief_description>
<description>
Provides direct access to a physics space in the [PhysicsServer2D]. It's used mainly to do queries against objects and areas residing in a given space.
[b]Note:[/b] This class is not meant to be instantiated directly. Use [member World2D.direct_space_state] to get the world's physics 2D space state.
</description>
<tutorials>
<link title="Physics introduction">$DOCS_URL/tutorials/physics/physics_introduction.html</link>

View File

@ -5,6 +5,7 @@
</brief_description>
<description>
Provides direct access to a physics space in the [PhysicsServer3D]. It's used mainly to do queries against objects and areas residing in a given space.
[b]Note:[/b] This class is not meant to be instantiated directly. Use [member World3D.direct_space_state] to get the world's physics 3D space state.
</description>
<tutorials>
<link title="Physics introduction">$DOCS_URL/tutorials/physics/physics_introduction.html</link>