godotengine / godotengine/godot-docs
Specify the coordinate system for the 'force' parameter in Rigidbody apply_force methods
Open
area:class reference
enhancement
topic:physics
- Dominant language
- reStructuredText
- Stars
- 5.7k
- Forks
- 3.8k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 25
Description
On the documentation page for Rigidbody3D and Rigidbody2D: https://docs.godotengine.org/en/stable/classes/class_rigidbody3d.html#class-rigidbody3d-method-apply-force
The documentation for "apply_force()" specifies that "position" is in global coordinates, but does not specify whether the "force" parameter should be in local or global coordinates. Many similar methods in this class's documentation lack that same information, including add_contant_central_force, add_constant_force, apply_central_force, and apply_impulse.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.