Direct Interactable UI Sliders and Dials?
Hello everyone! I am planning on building an application where a user can use their hands to directly interact with a button, a slider and a dial (as opposed to using the joystick and raycast to manipulate the UI element). Oculus has a template for virtual buttons that can be interacted with directly with the hand. But I am struggling to find if such a thing exists for sliders and knobs. All the examples for sliders that I've seen so far use the joystick rather than letting users pinch and move the selector. I haven't seen any examples for a knob yet. Thus: Is there some example code for sliders and dials that allow for direct hand interactions?Solved1.9KViews0likes4CommentsCheck if object is snapped
Hi everybody, I am trying to implment an interaction where the user (1) grabs an Interactable object and snaps it to a predefined position and then (2) has the option to translate transform that same object to a specific position. I did encount a few problems/question that I couldn't solve yet. 1. How can I check, if an object is snapped to a predefined snaplocation? I want to achieve, that I then can deactivate and activate the relevant Grab Transformers and maybe snap locations 2. How can I check, if an object is transformed (through one grab translate transformer) to a specific position and then lock it there while still active? I want the object to be able to be translate-transformed again, but only on a release and grab, not while keeping it grabbed (active). Any help is greatly appreciated. I suppose I have to code a little bit which I don't have a big problem with, however a starting point would be of great help to me. Thank you 🙂1.2KViews0likes4Comments