Skip to content

Change the tutorial to use get_gravity instead of getting it from the settings#11806

Open
leandro-benedet-garcia wants to merge 1 commit intogodotengine:masterfrom
leandro-benedet-garcia:patch-1
Open

Change the tutorial to use get_gravity instead of getting it from the settings#11806
leandro-benedet-garcia wants to merge 1 commit intogodotengine:masterfrom
leandro-benedet-garcia:patch-1

Conversation

@leandro-benedet-garcia
Copy link
Contributor

This changes the tutorial to use get_gravity instead of needing to get it in the project settings.

This makes the code more straightforward and simpler to parse overall.

@leandro-benedet-garcia leandro-benedet-garcia requested review from a team as code owners March 3, 2026 12:48
@Calinou Calinou added enhancement topic:physics area:manual Issues and PRs related to the Manual/Tutorials section of the documentation labels Mar 3, 2026
Copy link
Member

@Calinou Calinou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

I'll make sure to carry over this change to the demo projects once this is merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:manual Issues and PRs related to the Manual/Tutorials section of the documentation enhancement topic:physics

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants