Playmaker Forum

PlayMaker Updates & Downloads => Share New Actions => Topic started by: terri on August 02, 2015, 04:30:51 PM

Title: Basic VR actions
Post by: terri on August 02, 2015, 04:30:51 PM
I've been playing around with VR on Unity 5.1 with the native support.
Made some actions, the recenter one at least is pretty important.

Might make a few later if I need to.
Here are the docs
http://docs.unity3d.com/ScriptReference/VR.InputTracking.html
http://docs.unity3d.com/ScriptReference/VR.VRSettings.html

Title: Re: Basic VR actions
Post by: jeanfabre on August 18, 2015, 05:17:16 PM
Hi,

 Thanks for this. Few things:

VREnable is doing the same thing VRShowDeviceView, so we don't need this duplicates

also, I added thes actions to the Ecosystem (https://hutonggames.fogbugz.com/default.asp?W1181), but I changed slightly the names and also made the script names the same as the class name, otherwise PlayMaker can't find the script if you want to study them actions. I also renamed the fsmBool to be more reflective of what it's doing as well as some tooltip.

InputTrackingRecenter (https://github.com/PlayMakerEcosystem/PlayMakerCustomActions_U5/blob/master/Assets/PlayMaker%20Custom%20Actions/VR/InputTrackingRecenter.cs)

VRSettingsShowDeviceView (https://github.com/PlayMakerEcosystem/PlayMakerCustomActions_U5/blob/master/Assets/PlayMaker%20Custom%20Actions/VR/VRSettingsShowDeviceView.cs)

Bye,

 Jean
Title: Re: Basic VR actions
Post by: terri on August 18, 2015, 05:59:57 PM
Thanks Jean, yeah I messed up enable for sure, totally missed that.

Here's a new version, following your changes!
Title: Re: Basic VR actions
Post by: jeanfabre on August 20, 2015, 01:46:39 PM
Hi,

 it's on the Ecosystem now, so it's ok, attachments are not convenient to get an action into your Project, I strongly suggest you use the Ecosystem (https://hutonggames.fogbugz.com/default.asp?W1181).

 If you want to publish Directly to the Ecosystem let me know, I can guide you.

 Bye,

 Jean
Title: Re: Basic VR actions
Post by: terri on August 21, 2015, 07:51:08 AM
sorry, not sure I follow, do you mean its best to not post them here?
Title: Re: Basic VR actions
Post by: Lane on August 21, 2015, 08:10:44 AM
I post them on both when I make a new action (ecosys + forum)..but thats mostly because Ecosystem was still growing. Now that its basically the staple, go-to way to get new actions and has a pretty large userbase maybe that isnt needed.

At this point it's probably fine to post them to Ecosystem only, but since you still need a way to notify everyone of new stuff there should still be a forum post for news.

Maybe the next iteration is for Ecosystem to become self aware and have a feed of the latest changes :D
Title: Re: Basic VR actions
Post by: terri on August 21, 2015, 05:50:14 PM
Oh, I see, in my case I'm a bit hesitant to upload directly because I still screw up the actions a lot, but you guys call the shots!
Title: Re: Basic VR actions
Post by: sebaslive on August 23, 2015, 03:21:24 PM
Thanks for the actions terri!
Title: Re: Basic VR actions
Post by: terri on August 25, 2015, 11:41:14 AM
Thanks for the actions terri!

cheers sebas