godotengine / godot-proposals

Godot Improvement Proposals (GIPs)
MIT License
1.16k stars 97 forks source link

Capsule Collision Shape handles adjust radius and height #10530

Open Mikagino opened 3 months ago

Mikagino commented 3 months ago

Describe the project you are working on

I am using capsule collision shapes and their user friendliness when adjusting in the viewport could be improved.

Describe the problem or limitation you are having in your project

When using the handles of the capsule colliders in the in the viewport, they adjust height or widht.

Describe the feature / enhancement and how it helps to overcome the problem or limitation

Would be more inuitive if they adjust height and width and the capsule is generated from that.

Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams

The handle fartest from the center dictates the width and round edge, the closer one the width.

Currently you have to rotate the capsule to get a vertical shape like so: image

If this enhancement will not be used often, can it be worked around with a few lines of script?

For user-friendliness it should be in the core features

Is there a reason why this should be core and not an add-on in the asset library?

cause it is a basic use-case in the engine and just an enhancement of the current capsule collider

Calinou commented 3 months ago