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

Similar Components having a "Convert" option #77

Open
NotGaylien opened this issue Nov 23, 2023 · 2 comments
Open

Similar Components having a "Convert" option #77

NotGaylien opened this issue Nov 23, 2023 · 2 comments

Comments

@NotGaylien
Copy link

Similar components should have the ability to be easily Converted / Replaced with another,
Ideally this would be in context menu when right clicking an existing component.

Model Renderer and Animated Model Renderer should be able to be quick converted between each other.
Collider - Box, Collider - Map, Collider - Sphere, Model Collider, Model Physics and Rigid Body are another group you should be able to switch between each other.
Directional light Spot light and Point light should be another group
And so on....

image
Like this, it has all "similar" components in that drop down, swaps them and tries to fill in "matching" properties it could find.

This could maybe just work based on the category components are in.

Would make development a ton easier, accidently added a model renderer? right click and convert it to animated model render component! rather than removing it, and manually adding the animated model renderer and setting it back up.

@garrynewman
Copy link
Member

Switching between model renderer types I can get get down with.

Between collider types, I feel makes no real sense.

With lights I wonder whether we should just have one component with a light type selector on it.

@DrakeFruit
Copy link

I think switching collider types would make sense, you add a box collider and eventually decide a capsule would work better switching quickly with the same ish dimensions would be nice. It's not the most useful thing but if you're adding it to other components I see no reason not to

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

No branches or pull requests

3 participants