Jump to content

How to Custom Grab key ?


Recommended Posts

Hi @chengnay,Thank you for the reply.

In my case, I have a physical device it can send a keybord signal through bluetooth.

customer requirements is Use keybord signal to implement grab Behavior.

If I use mouse click signal to Grab Obect ,is it possible?

Link to comment
Share on other sites

  • 3 weeks later...

Hi @Veyond_Jimmy,

Sorry for the late reply.

I just tried using VIU's 3DDrag example scene and use Mouse with Simulator mode and I can drag object by clicking left mouse button.

image.png.2b143f085dd0162012b7b2c044ce9bb6.png

For VR grab, it is different story.

Not sure if this is what you need?

In Simulator mode, I will replace raycaster pose by using HMD pose.

image.png.4ca7ee4ef6086b4d70db83cd5f2f88ff.png

Replace ViveRaycaster with StandaloneRaycaster

image.png.7ddd2834612e9afbb652b12d30b175e6.png

Let me know if you still have questions, thanks!

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...