godotengine / godotengine/godot-docs

Physics introduction should grab gravity from project settings

Open
#2,520 3 comments 1 reaction 0 assignees View on GitHub
area:manual enhancement
Dominant language
reStructuredText
Stars
5.7k
Forks
3.8k
Avg merge
1d 20h
Merged PRs (30d)
25

Description

https://docs.godotengine.org/en/latest/tutorials/physics/physics_introduction.html#move-and-slide

Instead of `var gravity = 2500`, it should just get the gravity from `ProjectSettings.get_setting("physics/2d/default_gravity")`. This way, the gravity is the same for the KinematicBody and all Rigidbodies as well.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.