Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: richardh on March 31, 2018, 01:54:34 PM

Title: Custom FSMs for VR mixed reality controllers ThumbSticks
Post by: richardh on March 31, 2018, 01:54:34 PM
The Windows Mixed reality controllers have a thumbstick in addition to the touchpad. Playmaker VR has GetTouchPad and GetTrigger etc but it hasn't got GetThumbstick.

How can I access the thumbsticks using Playmaker and/or are there any custom actions for this?

thanks
Title: Re: Custom FSMs for VR mixed reality controllers ThumbSticks
Post by: tcmeric on March 31, 2018, 10:14:01 PM
Hi, playmaker VR is which set of actions? Did you buy it from the asset store? If so, you may need to contact the author of those actions.
Title: Re: Custom FSMs for VR mixed reality controllers ThumbSticks
Post by: richardh on April 01, 2018, 09:02:59 AM
Hi,
I bought this Playmaker VR from Unity Asset Store:
https://assetstore.unity.com/packages/templates/systems/steam-vr-playmaker-toolkit-63425
It's built around Vive with another one for Oculus here:
http://www.frametalestudios.com/oculus-playmaker-toolkit

There needs to be a third for Windows Mixed Reality :)
Title: Re: Custom FSMs for VR mixed reality controllers ThumbSticks
Post by: tcmeric on April 02, 2018, 09:51:56 PM
Hmm, yeah, you would need to contact the authors to offer support for that.

Strange, I thought there was a set of actions for WMR.

I am using (and supporting) the playmaker actions for VRTK. I believe they have just added WMR support to the base VRTK package (on the github version).
Title: Re: Custom FSMs for VR mixed reality controllers ThumbSticks
Post by: richardh on April 03, 2018, 05:32:10 AM
Thanks
I've looked at VRTK but was a bit worried about using it because I thought it was an abandoned project and would lack support and updates. How do VRTK and Playmaker play together in Unity?
Title: Re: Custom FSMs for VR mixed reality controllers ThumbSticks
Post by: tcmeric on April 04, 2018, 09:40:32 PM
The creator announced no more updates, but they are still coming in. Already it is extremely feature rich, so I am honestly not sure how much more it needs. As for maintenance, the community is quite large, so I would expect it to keep going in some form. Currently it has been already the latest version can already run in 2018 beta, so there should be no problems throughout 2018 (as far as we can tell).

I wrote the actions that support VRTK for playmaker. We have around a few hundred at this point.

You can find them on my github. https://github.com/dumbgamedev/VRTK_Playmaker3x

Make sure to download the newest version of VRTK from their github (not the master, but the alpha). https://github.com/thestonefox/VRTK/tree/release/3.3.0-alpha

One or two playmaker actions may throw an error (as it is always a work in progress). You can just delete them. It wont break anything.

If you want some live support, join the slack playmaker (unofficial) channel. There are at least 30 people there using VRTK and playmaker. https://invite-playmaker-slack.herokuapp.com
Title: Re: Custom FSMs for VR mixed reality controllers ThumbSticks
Post by: richardh on April 05, 2018, 05:44:44 AM
Thanks, @tcmeric.
I will give it a go. At the moment the only thing I'm lacking in my [early] devving is control of the two WMR controller keybindings (via Unity input manager). I have managed to get the left controller working (of sorts) but for the life of me, I can't get the right one to cooperate. Some WMR FSMs would really be useful.

Thanks for the replies sir :-)