mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-09-03 18:14:53 +03:00
Merge pull request #11689 from carlosm00/getting-started-2d-CharacterBody2D-clarification
Add note for Area2D usage over CharacterBody2D
This commit is contained in:
@@ -18,6 +18,14 @@ rule, a scene's root node should reflect the object's desired functionality -
|
||||
what the object *is*. In the upper-left corner, in the "Scene" tab, click the
|
||||
"Other Node" button and add an :ref:`Area2D <class_Area2D>` node to the scene.
|
||||
|
||||
.. note::
|
||||
|
||||
Godot also provides the :ref:`CharacterBody2D <class_CharacterBody2D>` node,
|
||||
specifically designed for 2D characters, which includes built-in support for some
|
||||
of the processes explained in this tutorial. In many real world projects, CharacterBody2D
|
||||
would be a better choice for players and enemies. However, this tutorial focuses on
|
||||
core concepts that apply to a wider range of nodes and use cases.
|
||||
|
||||
.. image:: img/add_node.webp
|
||||
|
||||
When you add the ``Area2D`` node, Godot will display the following **warning icon**
|
||||
|
||||
Reference in New Issue
Block a user