Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
Racso2006's avatar
Racso2006
Honored Guest
8 years ago

doubt when developing a game with unity

doubt when developing a game with unity

good morning.

I do not know how far I should put this doubt.

I am doing a project that must be started while playing any other game, and must pick up the traking I am doing at all times and activate the control vibration when necessary.

however if I start my project I can not start any other game.

I want to know how I could do to be able to do the project so that I can detect the traking without being started in the oculus, so I can play with them.

I tried so much to boot it with the sdk of oculus but without removing vidio (it does not work) as doing a desktop application that picks up the traking (but I can not do it)

sorry for my bad English.

If there is a better forum for this doubt, I would also appreciate it if you would indicate it to me.

thank you very much

3 Replies

Replies have been turned off for this discussion
  • Anonymous's avatar
    Anonymous
    There's a developers forum linked at the top of the page. It says Developers click here.

    When you post this there you might want to post in your native language as well as English because I'm not too sure what you mean exactly. Hope that helps!
  • I moved it.

    If you were doing this in C++, it would be easy. The Oculus sdk initialisation function has a flag for invisible applications. That lets you make a VR app that has tracking and everything, but does no rendering and won't block other VR programs from running. I use it for my AutoOculusTouch project.

    I don't know if that's accessible from unity though. I'm not a Unity developer.
    If the invisible flag isn't available in Unity, perhaps a native dll that sets it up would work.
    Actually, you could probably take the DLL from AutoOculusTouch and use it in Unity. It would need C# wrapper code, but on it's own it exposes Oculus Touch values. Right now there's no tracking though (that's on the way later), but it has the buttons, triggers and thumbsticks.

  • Thank you very much for your help.

    I'm going to try the AutoOculusTouch.

    from what I've read it seems that I'll have to do well with AutoOculusTouch

    If I have any questions, I will write again.