godotengine / godotengine/godot-docs
Physics introduction should grab gravity from project settings
Open
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.