Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vector2.reflect() and Vector2.bounce() are unclear #9948

Open
tetrapod00 opened this issue Sep 12, 2024 · 2 comments
Open

Vector2.reflect() and Vector2.bounce() are unclear #9948

tetrapod00 opened this issue Sep 12, 2024 · 2 comments
Labels
area:class reference Issues and PRs about the class reference, which should be addressed on the Godot engine repository enhancement

Comments

@tetrapod00
Copy link
Contributor

tetrapod00 commented Sep 12, 2024

Your Godot version:
4.3
Issue description:
This issue originates from a question in the official discord. Making this issue to track it.

These should probably be clarified somehow, maybe with example vectors. Ideally illustrations could be added, but that is not typical of the docs.

Same issue might apply to Vector3.

A possible solution would be adding some info and a diagram about the difference between reflect and bounce here, then linking to it from the class ref pages if that's allowed.

URL to the documentation page (if already existing):
https://docs.godotengine.org/en/stable/classes/class_vector2.html#class-vector2-method-bounce
https://docs.godotengine.org/en/stable/classes/class_vector2.html#class-vector2-method-reflect
https://docs.godotengine.org/en/stable/tutorials/math/vector_math.html#reflection

@tetrapod00 tetrapod00 changed the title Vector2.reflect() and Vector2.bound() are unclear Vector2.reflect() and Vector2.bounce() are unclear Sep 12, 2024
@clayjohn
Copy link
Member

I think an image would be a big help. I think images are supported in the class ref now, but for a long time they weren't.

Also see the extensive previous discussions:
godotengine/godot#11678
godotengine/godot#68392
godotengine/godot#89404

@Piralein Piralein added the area:class reference Issues and PRs about the class reference, which should be addressed on the Godot engine repository label Sep 13, 2024
@tetrapod00
Copy link
Contributor Author

Possibly also a duplicate of #8962.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:class reference Issues and PRs about the class reference, which should be addressed on the Godot engine repository enhancement
Projects
None yet
Development

No branches or pull requests

3 participants