playMaker

Author Topic: Oculus Rift - Reset orientation in Playmaker[SOLVED]  (Read 2909 times)

fuzzywobs

  • Playmaker Newbie
  • *
  • Posts: 25
Oculus Rift - Reset orientation in Playmaker[SOLVED]
« on: November 20, 2015, 05:41:20 AM »
Is there a function or playmaker action to reset the Oculus Rift camera orientation?

This forum post:
http://forum.unity3d.com/threads/fixed-wanted-rift-camera-reset-function.320532/ seems to indicate that there is a dedicated function UnityEngine.VR.InputTracking.Recenter() to reset the camera. Any ideas on how to use this in Playmaker?
Thanks
« Last Edit: November 23, 2015, 08:24:30 AM by jeanfabre »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Oculus Rift - Reset orientation in Playmaker
« Reply #1 on: November 20, 2015, 07:09:51 AM »
Salut :)

 This will typically require a custom action to call this function.

 Can you bump me on monday if I haven't done it before?

 Thanks :)

 Jean


fuzzywobs

  • Playmaker Newbie
  • *
  • Posts: 25
Re: Oculus Rift - Reset orientation in Playmaker
« Reply #2 on: November 20, 2015, 07:31:33 AM »
I'll reply in English in case anyone else in the future has this problem and needs to read through the post to get the solution :P

Is it difficult to write custom actions for playmaker? I was hoping to have this particular function working this weekend!

Cordialement,

Fuzzy

terri

  • Sr. Member
  • ****
  • Posts: 386
    • terrivellmann.tumblr.com
Re: Oculus Rift - Reset orientation in Playmaker
« Reply #3 on: November 20, 2015, 07:41:33 AM »
actually that one you can get here:
http://hutonggames.com/playmakerforum/index.php?topic=10867

or on the ecosystem (input tracking recenter)
« Last Edit: November 20, 2015, 07:43:19 AM by terri »

fuzzywobs

  • Playmaker Newbie
  • *
  • Posts: 25
Re: Oculus Rift - Reset orientation in Playmaker
« Reply #4 on: November 20, 2015, 08:04:22 AM »
Thanks Terri, the one from that thread works perfectly!

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Oculus Rift - Reset orientation in Playmaker
« Reply #5 on: November 23, 2015, 08:24:16 AM »
Hi,

 Great, Twitted about it, cause I think it got unoticed :)

 Bye,

 Jean