Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: fuzzywobs on November 20, 2015, 03:41:20 AM

Title: Oculus Rift - Reset orientation in Playmaker[SOLVED]
Post by: fuzzywobs on November 20, 2015, 03: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/ (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
Title: Re: Oculus Rift - Reset orientation in Playmaker
Post by: jeanfabre on November 20, 2015, 05: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

Title: Re: Oculus Rift - Reset orientation in Playmaker
Post by: fuzzywobs on November 20, 2015, 05: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
Title: Re: Oculus Rift - Reset orientation in Playmaker
Post by: terri on November 20, 2015, 05: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)
Title: Re: Oculus Rift - Reset orientation in Playmaker
Post by: fuzzywobs on November 20, 2015, 06:04:22 AM
Thanks Terri, the one from that thread works perfectly!
Title: Re: Oculus Rift - Reset orientation in Playmaker
Post by: jeanfabre on November 23, 2015, 06:24:16 AM
Hi,

 Great, Twitted (https://twitter.com/JeanAtPlayMaker/status/668781863251611648) about it, cause I think it got unoticed :)

 Bye,

 Jean