-
-
Notifications
You must be signed in to change notification settings - Fork 994
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
Easier way of positioning snap handles #472
Comments
Perhaps some grabbing preview plugin that would allow real time preview , allowing you to move the handle and see in real time the result of grabbing the object. |
That would be ideal, yes. |
The plan is to have an editor gizmo that makes it easier to understand the current position and rotation in comparison to the controller. It's not scheduled to be done soon though, so if anyone wants to have a go at doing one, that would be great |
Maybe provide an optional field for transform in VRTK_Interact? That will be great customizable solution |
I think gizmos in the editor would be a helpful addition. However in #876 we ended up talking about arbitrary "mount points" on the controller that can be used for varying purposes. These might actually at least make the process of snapping in this situation a little less tedious. For example. Instead of adjusting the snap handle of a pinched object relative to the controller origin so the object's handle is positioned within the fingers:
Then a key's snap point will be relative to where the fingers will pinch it and you only need to make minor adjustments to make it look good. |
I created a semi-solution to this issue, I don't have a rift&touch so I haven't gotten the offsets for those correct, so sorry for anyone using a rift, maybe you can figure them out for yourself. Just in case, I got the offset by taking the position and rotation values of the attach point compared to the body object of the controller. To use this drag the script onto the object you're using as the snap attach handle in your grab attach mechanic, then drag the corresponding controller model into the slot and change controller/hand variables in the inspector to be which one you need.
|
PR #1377 |
@JWNJWN is still working on this (hopefully!) |
I have virtual hands in place of my controllers models, and they can take on a variety of poses.
I want to be able to precisely position the snap handles on an object so that it appears in the correct location (e.g. a key would be between the fingertips of a hand in a "pinch" pose).
Accurately positioning the snap handles to put the object in the right place is kind of tedious right now, involving a lot of trial and error, and of course it has to be done for each object and for each hand.
It would be great if there were some sort of tool (or tutorial) to simplify the process.
The text was updated successfully, but these errors were encountered: