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

Feature request: quick context sensitive user interface menu #625

Open
goatchurchprime opened this issue Mar 30, 2024 · 0 comments
Open

Comments

@goatchurchprime
Copy link
Contributor

At the moment the FunctionPointer feature is really only useful for interacting with Viewport2Din3D user interface panels.

But it's quite a long winded process to set up these panels if all you're trying to to do is set up quick actions on particular objects (or to the scene) from within the VR.

The proposal is for a new Function node that goes under the FunctionPointer node that calls get_context_menu_list() on the target object of the laser (if it exists) and generates this quick radial menu of Text3D nodes around the function pointer when you hold down an Action button. It then emits a signal if you release the Action button while highlighting/pointing at one of the context menu items.

This is similar to the feature in FunctionPickup where if you click the trigger when you are holding an object it calls its action() function, if it exists, except it works at a distance and you get have more options.

image

User interfaces are hard to design in VR. This would provide an immediate general purpose starting point for people to expose the features they need for testing before making longer term design decisions about using wrist panels or controller button combinations.

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

1 participant