-
Notifications
You must be signed in to change notification settings - Fork 125
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
[Suggestion] GUI elements in 3D world #175
Comments
Yeah this would be a nice addition, I've seen something similar implemented here: Immersive Sim Interaction System in Godot |
I need to.do some more tidying with my own code base, but would I be wasting my time implementing this idea and making a PR for this project not just my own? |
Yup, that one is pretty cool. Someone already pointed it out and asked the same question before.
As it stands right now, I'm not planning to work on a feature like this myself. |
to be honest I've only started looking at Godot again since 3.0 days, I'm not fully up to speed with GDScript its missing some features like Interfaces I'd expect from an OO language, and I'm not 100% sure I'm holding it right at the moment ! So maybe better I wait till I've got a little more comfortable with the language, but in the mean time... You can see it running here: https://www.youtube.com/watch?v=VsiehuPLULE I can give you the whole project to play with if you like... Just contact me via my website... (see github profile) |
There is an example with Godot (GUI in 3d) that shows using a standard set of GUI controls, by hacking in some event injection you can make it work with a captured mouse, I implemented in my own experiment a door that needs you to enter a 4 digit password to open the a door (alas only just discovered this project or would have hacked it into this!), the number keys and clear buttons are all just the standard Godot button controls, but they are rendered into a viewport texture. Taking the world position of a raycast hit you can then do an affine transform to get the position you need to inject the mouse event into 2d gui.
The text was updated successfully, but these errors were encountered: