1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Add clarifications to PhysicsDirectSpaceState docs on how to get their instance

This commit is contained in:
Leandro (Cerberus1746) Benedet Garcia
2025-03-23 19:00:04 -03:00
committed by Rémi Verschelde
parent 978b38797b
commit f3ef56dafa
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>