godot-docs icon indicating copy to clipboard operation
godot-docs copied to clipboard

Problem With Description of Cubic Bezier Control Point Calculation

Open cedarbob opened this issue 1 month ago • 4 comments

Godot version: 4.5 stable

Issue description: In the Math->Beziers, Curves and Path->Adding Control Point section, I believe the Control1 calculation should be Control1 = P2 - P3 instead of P3 - P2. Also, the text of the second and third bullets there should probably be reworded as follows:

  • Control0 = P1 - P0: Is a vector relative to the first point
  • Control1 = p2 - P3 Is a vector relative to the second point

URL to the documentation page: https://docs.godotengine.org/en/stable/tutorials/math/beziers_and_curves.html

cedarbob avatar Oct 31 '25 19:10 cedarbob

abhijithajay99-bot avatar Nov 01 '25 21:11 abhijithajay99-bot

You're right, the calculation is indeed reversed and should be fixed.

kleonc avatar Nov 03 '25 17:11 kleonc

Hi! I am looking to contribute to this repo and am hoping to use this as my first contribution. Do you mind assigning me to the issue? Thank you so much!

akcortez avatar Nov 06 '25 03:11 akcortez

@akcortez We usually don't assign contributors to issues, you can just pick one and create a PR. If you link the issue in your PR it will show up as a reference in the issue, so others know there is already a PR created for it.

github documentation about linking a pull request to an issue

Piralein avatar Nov 06 '25 08:11 Piralein