Clarify CharacterBody usage#11565
Open
Chanpreet-Singh-CS wants to merge 1 commit intogodotengine:masterfrom
Open
Clarify CharacterBody usage#11565Chanpreet-Singh-CS wants to merge 1 commit intogodotengine:masterfrom
Chanpreet-Singh-CS wants to merge 1 commit intogodotengine:masterfrom
Conversation
Added a note to clarify that CharacterBody can be used for non-character objects as requested in godotengine#10458.
| have to write some code to create their behavior, it also means you have more | ||
| precise control over how they move and react. | ||
|
|
||
| Despite it's name ``CharacterBody2D``, it can also be used for other physics objects that requires |
Member
There was a problem hiding this comment.
Suggested change
| Despite it's name ``CharacterBody2D``, it can also be used for other physics objects that requires | |
| Despite its name ``CharacterBody2D``, it can also be used for other physics objects that require |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #10458
Description
Added a note to the using_character_body_2d.rst tutorial to clarify that the CharacterBody2D node is not strictly for human/NPC characters. It is also the recommended node for any physics object that requires manual movement and detailed collision information, such as moving platforms or complex projectiles.
Changes
Added a .. note:: block in the "Introduction" or "When to use" section of the CharacterBody2D manual page.