3 ms·
There used to be a bug in Kerbal Space Program where solar panels would be occluded by the UI windows.
by okasaki 11y ago
There used to be a bug in Kerbal Space Program where solar panels would be occluded by the UI windows.
- TeMPOraL 11y agoThat's what you get when you keep your UI and game objects mixed together in a some sort of "scene". I suppose Unity that encourages this style.
- golergka 11y agoActually, KSP uses the old UI framework, where UI objects are "created" every frame. But in new UI framework UI objects are indeed mixed up with game objects, and it makes perfect sense: they live in the same space. Game objects can be 2d, and UI objects can be 3d. For example, you can easily implement weapon UI as a physical display on your weapon's back. You can change your menu from being 2d overlay to be floating in space and collide with level walls in 2 minutes.