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

Update capsule documentations for size constraint clarifications #101732

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Yelloween10
Copy link
Contributor

Added a note for all capsule classes to avoid confusion with their sizing behaviours.

A capsule's radius can't be more than half of its height, since it ends up becoming a circle. Changing the radius to exceed that limit causes the properties to be adjusted to a correct value, which has caused some confusion.

Fixes #101084

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CapsuleShape2D does not allow to set programatically Radius and Height
2 participants