Forum Discussion

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

Change profile user in application (0.3.x)

Quick question: Is there no way to change the profile user while in the application? I can't seem to find it, either in the C or C++ api.
I also can't seem to modify the IPD directly (a lesser alternative), is that true?

I'm stuck on 0.3.x because of linux ( :x )

2 Replies

  • I remember that changing profiles dynamically was brought up before, but I don't think the feature was ever added.

    You should be able to experiment with changing the IPD via the API, but I'd recommend NOT doing this in a published game. The user should only set their IPD once using the Config Util, and games should just passively read this value. Hope that makes sense.
  • rjoyce's avatar
    rjoyce
    Honored Guest
    OK, it used to be possible in 0.2, but I guess it was deemed 'not needed', which obviously I will disagree with.

    For a game for a single end user it (could) make sense - but there are many scenarios where it doesn't. Don't forget that not everyone is developing games for the Oculus! For a shared system with many regular users it could get frustrating to have to close the application, change the default profile, and then relaunch, just to change to the current user.