I have designed a lever, I want to interact with it using the hand controllers, I have no idea how to do it.
Any help will be appreciated.
Thanks.
I have designed a lever, I want to interact with it using the hand controllers, I have no idea how to do it.
Any help will be appreciated.
Thanks.
Try a grab interactable and a hinge joint on the lever with angle limits, its how I got some doors etc working on my vr app so could be a place to start.
Though i did have to check off the keep selected target valid in the direct interactor so you dont get glitches when your hand goes too far from the handle collider. Also means using the ray interator is also a no-go.
Update: Just saw that the XR interaction toolkit has a whole bunch of new examples that include levers etc. which probably makes my whole entire answer moot at this point ha