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

Enable pulling and pushing of item placements at a distance #161

Open
goatchurchprime opened this issue May 26, 2024 · 1 comment
Open
Assignees
Labels
enhancement New feature or request

Comments

@goatchurchprime
Copy link

A common feature for user positioning of objects in space when grabbed by the reticle (laser), rather than the hand, is for the thumbstick forward and back to push or pull the object along the laser.

Sometimes left and right spins the object about its CofG axis. (This can conflict with snap-left and snap-right rotations in a VR game, but it won't affect this application.)

This feature is important for laying out the elements in places that are out of reach (eg above windows or doors), and so you don't have to keep walking across the room like you are positioning a picture on the wall in real life.

To do this by hand-tracking the xr-autohands has a feature to interact with the thumbstick if you pinch the air with your fingers pointing upwards whereupon it shows a ring representing the joystick range. Grab + thumbstick motion is currently impossible in its interface, but we could find some way to enable it. The trick is to route the whole of the hand tracking interface through the controller interface so that you only need to implement the latter interface.

The current feature of grabbing by reticle and only moving by the distance your limb can move is not very useful, particularly at a distance. This reticle grabbing feature probably belongs in the godot-xr-tools, but that's going to be difficult to make happen, so the implementation is not obvious.

@Nitwel Nitwel added the enhancement New feature or request label May 26, 2024
@Nitwel Nitwel self-assigned this May 28, 2024
@Nitwel
Copy link
Owner

Nitwel commented May 28, 2024

I've added support for moving objects with the controllers. For hands I'm thinking of an interface which you can interact with using your second hand, but that doesn't have high priority at the moment due to it's complexity, so I'll fully finish this later.

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

No branches or pull requests

2 participants