Veyond_Jimmy Posted June 27, 2022 Posted June 27, 2022 Hi , my requirements is Custom A key to grab Object who have StickyGrabbable component, Is it possible?
VIVE_chengnay Posted June 28, 2022 Posted June 28, 2022 Hi @Veyond_Jimmy, Just to double check I get your requirements right, You want to grab objects that have StickyGrabbale component, others objects (BasicGrabbable) cannot be grabbed?
Veyond_Jimmy Posted June 29, 2022 Author Posted June 29, 2022 Hi @chengnay,Thank you for the reply I want to grab objest that have StickyGrabbale component Or have BasicGrabbable component, not using Controller but using KeyBoard .
VIVE_chengnay Posted June 29, 2022 Posted June 29, 2022 Hi @Veyond_Jimmy, You could reference to ViveRaycaster.cs and create a new script named KeyboardRaycaster.cs. You need to replace the mouseButtonLeft, mouseButtonMiddle and mouseButtonRight with keyboard buttons. If you still have issue, please let me know.
Veyond_Jimmy Posted June 30, 2022 Author Posted June 30, 2022 Hi @chengnay,Thank you for the reply How to replace the mouseButtonLeft, mouseButtonMiddle and mouseButtonRight with keyboard buttons?
VIVE_chengnay Posted June 30, 2022 Posted June 30, 2022 Hi @Veyond_Jimmy, May I know how you will connect keyboard to your Focus 3? Using Bluetooth? I will try to write a sample code for you, but not sure my method will work as it depends on how you connect your keyboard.
Veyond_Jimmy Posted June 30, 2022 Author Posted June 30, 2022 Hi @chengnay,Thank you for the reply Yes,I use Bluetooth keyboard to achieve grab Object . by the way,My VR Device is Oculus quest2 Thanks!
VIVE_chengnay Posted July 1, 2022 Posted July 1, 2022 Hi @Veyond_Jimmy, I will try my best, it might take some time.
Veyond_Jimmy Posted July 3, 2022 Author Posted July 3, 2022 Hi @chengnay,Thank you for the reply. Thanks for helping.
VIVE_chengnay Posted July 9, 2022 Posted July 9, 2022 Hi @Veyond_Jimmy, Sorry for the long wait. It is harder than I thought, I am not able to write the sample script for you. Could you describe what you really wanna do? Maybe there is other method or solution to resolve your problem.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now