Dark-Peace / Godot-Hider-Node

A new Godot 4 node for less messy scenes. Add it as a child to a node and that node's children will only be visible in editor when you click on that node. And other similar behaviors.
MIT License
7 stars 2 forks source link

Can this be expanded to 3D as well? #1

Open SheepCommander opened 3 months ago

SheepCommander commented 3 months ago

Could this plugin be expanded to work for 3D as well?

The simplest would probably be GeometryInstance3D.transparency = 1.0

Dark-Peace commented 3 months ago

Mmh I should probably add that to the faq, it's not the first time I'm asked. Short answer is that I have no 3D knowledge so I'm not gonna do it.

SheepCommander commented 3 months ago

If I were to extend your code to 3D myself, possibly significantly rewriting the codebase, would you prefer i make it a separate project or submit it as a PR?

Dark-Peace commented 3 months ago

Sure, that'd be great, you can make a PR

Dark-Peace commented 3 months ago

@SheepCommander I'm stupid, I thought I was on another repo. There is a Hider node for 3D included, although I didn't test it. Answer to your question stays the same

SheepCommander commented 3 months ago

Oh there is? How do I access it btw

Dark-Peace commented 3 months ago

Mmh I made that a long time ago, there was multiple nodes at some point but looks like I removed them. It means the Hider should work for both 2D and 3D, have you tried it ?

SheepCommander commented 3 months ago

BTW your test.tscn has dependency errors

image

SheepCommander commented 3 months ago

It also does not work with 3D