Playmaker Forum

PlayMaker News => User Showcase => Topic started by: sebaslive on June 03, 2016, 09:41:53 PM

Title: Steam VR Playmaker Toolkit [Asset]
Post by: sebaslive on June 03, 2016, 09:41:53 PM
First asset now in the asset store! I am using it for my games right now and if I ever need a new custom script I will add it right away to the asset to continue building a good base. There will also be more tutorials coming soon.

Steam VR Playmaker Toolkit

Aside from the custom actions that come with the package it includes a complete demo package that best shows the scripts in use with a boxing demo, shooting demo, switching between controllers, and more.

(https://d2ujflorbtfzji.cloudfront.net/package-screenshot/c8d00919-0137-4232-9eaa-754e5affcd17_scaled.jpg)

Unity Store (http://u3d.as/u20)

Example Scene (Steam VR required) (http://googledrive.com/host/0B5L7HpcRMuS0QUNyVGZ1Zk5KVUE)

Important: requires playmaker version 1.8.1 or greater!

Features

-Extensive Custom Actions
-Demonstration Scene
-Full Documentation
-Detailed FSM and Actions
-Custom Models

Example Scene demonstrates how to use the most popular Steam VR scripts in custom actions.


-Throw Objects.
-Set up a shooting weapon.
-A boxing machine that allows you to test your speed.
-Firing targets.
-Rumble Controllers.
-Switching between controllers.
-Dual wielding Guns or Boxing gloves.

http://www.frametalestudios.com/#!steamvrplaymaker/d9jrt (http://www.frametalestudios.com/#!steamvrplaymaker/d9jrt)

Any questions or comments, please post here or send an email to frametaleinfo@gmail.com with subject line "playmaker vr Toolkit"
Title: Re: Steam VR Playmaker Toolkit [Asset]
Post by: 600 on June 04, 2016, 04:14:17 AM
Congrats on the asset, looks great!  8) <-- those are VR glasses  ;D
Title: Re: Steam VR Playmaker Toolkit [Asset]
Post by: sebaslive on June 04, 2016, 08:46:13 AM
 8) 8) 8) Thanks! Much work was put it to make sure it helps!
Title: Re: Steam VR Playmaker Toolkit [Asset]
Post by: Groo Gadgets on June 06, 2016, 05:38:26 PM
Awesome asset! Will buy this as soon as I raise the funds for the Vive itself (costs around $1500 Australian dollars after shipping!).

Would you consider working on a set of actions for Google's Daydream VR?

Cheers,

Simon
Title: Re: Steam VR Playmaker Toolkit [Asset]
Post by: sebaslive on June 06, 2016, 05:54:55 PM
Hi Thanks! (yeah, its a doozy of a cost).

I have been considering creating a set of actions for google dream vr but in the mean time, I want to continue expanding this asset and expand its library.

When that time comes, I will make a note of it here!
Title: Re: Steam VR Playmaker Toolkit [Asset]
Post by: pandachilli on June 24, 2016, 05:47:55 AM
Hello

I'm seriously thinking of purchasing this tool, looks great.. wondered if you'd consider somehow including the ability to use the 'Focal Point' asset that works with SteamVR?  https://www.assetstore.unity3d.com/en/#!/content/59625

This gives you a 'UltraMan' style ability to move through the scene, by scaling the background in a kind of touchscreen pinch-to-zoom like fashion.

Thanks
Title: Re: Steam VR Playmaker Toolkit [Asset]
Post by: sebaslive on June 24, 2016, 01:18:03 PM
Hey Pandachilli, I asked Albert if I can integrate his package with this one. Hopefully if he does the next update, which I am currently working on, will include a Playmaker version of Focal Point. I would also place the Playmaker version here for free to go along with his free package.

I will keep you posted here when the update is available on the asset store to better help with your decision with the other features.

Thanks!
Title: Re: Steam VR Playmaker Toolkit [Asset]
Post by: pandachilli on June 26, 2016, 05:10:14 PM
Hey sebaslive, on the strength of your last post alone I have just bought your toolkit.  :)

Thanks for considering integrating focal point - looking forward to trying both of these out now that I finally have access to a vive. Thanks again!
Title: Re: Steam VR Playmaker Toolkit [Asset]
Post by: sebaslive on June 27, 2016, 06:26:56 PM
Hi PandaChilli, Thanks for grabbing the toolkit!

I've been discussing the matter with Albert, but after extensive use this weekend with the asset, I think the current best bet is using Set Property to manipulate the subject in playmaker. I attached a capture to illustrate.

More to come soon!


Title: Re: Steam VR Playmaker Toolkit [Asset]
Post by: pandachilli on June 29, 2016, 05:06:13 PM
Thanks Sabaslive this looks great.

In the interest of focusing on your toolkit on this thread I'll refrain from asking questions about Focal Point / Playmaker but certainly interested to hear more of your experiments.
Title: Re: Steam VR Playmaker Toolkit [Asset]
Post by: sebaslive on July 01, 2016, 02:26:03 PM
The toolkit was updated with two new actions and a scene to demonstrate!

-Steam Headset Fade.
-Steam Teleport.

It uses the steam vr scripts to teleport between the Y axis, colliders, or the terrain. The scene is set up to fade the headset after every teleport.

More updates coming soon!
Title: Re: Steam VR Playmaker Toolkit [Asset]
Post by: mickman on July 09, 2016, 09:05:57 PM
 awesome news...   I purchased  Steam VR PM  about a week back & have been hacking away learning a few actions... loads of fun simply experimenting. 

 I have a Perception Neuron ( mo-cap suit ) sitting here  & am wondering if anyone has tried creating actions for it ?    The main problem I foresee would be in having the  vive and suit align properly...  yes ?
Title: Re: Steam VR Playmaker Toolkit [Asset]
Post by: sebaslive on August 28, 2016, 01:31:42 AM
Hi all,

The latest version will introduce the bow and arrow mechanic built completely in playmaker using Steam VR.

(http://i.imgur.com/ueQbRRa.gif)

Also included in the latest version, an update on touchpad axis to include graphics to better demonstrate the axis.

edit: Update is live!
Title: Re: Steam VR Playmaker Toolkit [Asset]
Post by: sebaslive on September 23, 2016, 05:32:48 PM
New update!

-Latest update changes the rumble controls on the bow and arrow mechanic to increase based on distance pulled.

Title: Re: Steam VR Playmaker Toolkit [Asset]
Post by: artician on January 13, 2017, 10:32:48 PM
Hi,

The latest Steam VR update broke something, and I now receive this error:
Code: [Select]
Assets/SteamVR Playmaker/Custom Actions/GetSystem.cs(26,27): error CS0117: `SteamVR_Utils' does not contain a definition for `Event'
Can you help me please?  :)

Title: Re: Steam VR Playmaker Toolkit [Asset]
Post by: sebaslive on January 14, 2017, 08:10:33 AM
Hi Artician,

Please send an email to Frametaleinfo[at]gmail.com and we can send you the latest fix! The update is already being processed by unity but for a quick fix, we can send you the latest get system.

Thanks!
Title: Re: Steam VR Playmaker Toolkit [Asset]
Post by: sebaslive on February 08, 2017, 03:57:19 PM
The latest version is live with updated scripts to match the Steam version!
Title: Re: Steam VR Playmaker Toolkit [Asset]
Post by: CHADALAK1 on February 17, 2017, 03:32:09 PM
Hi,

The latest Steam VR update broke something, and I now receive this error:
Code: [Select]
Assets/SteamVR Playmaker/Custom Actions/GetSystem.cs(26,27): error CS0117: `SteamVR_Utils' does not contain a definition for `Event'
Can you help me please?  :)

I too have this problem. I have the latest SteamVR, Playmaker, and the toolkit as well.
Title: Re: Steam VR Playmaker Toolkit [Asset]
Post by: sebaslive on February 17, 2017, 11:50:06 PM
Hi Chad, are you running the latest version of unity and playmaker?
Title: Re: Steam VR Playmaker Toolkit [Asset]
Post by: sebaslive on February 28, 2017, 03:32:31 PM
Steam just updated their asset and it is safe to update with the current version of the toolkit!
Title: Re: Steam VR Playmaker Toolkit [Asset]
Post by: artician on March 01, 2017, 05:04:26 PM
Hi,

I'm getting this error again(?).  I'm running Unity 5.4.2, with latest versions of SteamVR and this addon.  I cannot update to the latest version of Unity because it has errors with other components.  Can you help?

Thank you for your assistance!
Title: Re: Steam VR Playmaker Toolkit [Asset]
Post by: sebaslive on March 01, 2017, 05:52:08 PM
Hey Artician,

Can you please send an email frametaleinfo[ @]gmail.com. I'll send you a version that works with your version of Unity.
Title: Re: Steam VR Playmaker Toolkit [Asset]
Post by: sebaslive on March 01, 2017, 09:55:39 PM
Version being applied to Unity, all versions are working, thanks Artician!
Title: Re: Steam VR Playmaker Toolkit [Asset] [15% Mega Sale!]
Post by: sebaslive on April 17, 2017, 09:28:21 PM
Mega Sale going on, and the first sale for the asset!!

Unity Store (http://u3d.as/u20)
Title: Re: Steam VR Playmaker Toolkit [Asset] [15% Mega Sale!]
Post by: marcos on April 18, 2017, 09:48:48 AM
Hi there,

First of all, great asset!

Would it be possible for you to add some kind of get  touchpad delta position functionality?

I want to be able to rotate an object by swiping my thumb around the pad. The same sort of feeling you'd get moving a cursor around with a touchpad on a laptop, or rotating a 3D object on a smart phone screen,  for example.

Hopefully that makes sense!

Kindest regards,
Mark
Title: Re: Steam VR Playmaker Toolkit [Asset] [15% Mega Sale!]
Post by: sebaslive on April 18, 2017, 10:49:26 AM
Hey Marcos!

This should be pretty simple to do with the current actions and is as easy as making a character move using the regular axis actions.

You get the X and Y in the axis and in the "mouse" gameObject, you can set the translate to the X and Y you received from the controller X Y axis. It would be the same with a touchpad delta position since you are inputing the X and Y from the controller into a gameObjects position.

This would be the quickest way of achieving this unless I misunderstood the action request?

Thanks!
Title: Re: Steam VR Playmaker Toolkit [Asset] [15% Mega Sale!]
Post by: marcos on April 18, 2017, 06:43:48 PM
Thanks for the speedy reply!

Not quite what I'm after, I think.

I wrote that when I was half asleep so I probably didn't word it very well.

The interaction would be like this:

You slide your finger left and right on the touch pad: the object rotates - and + on the Z axis.

Your finger stops sliding, but remains touching: the rotation stops.

I think in what you're describing if I kept my finger still at the side of the touch pad, it would continue to rotate the object, whereas I only want the object to rotate when I move my finger around.

Kindest,
Mark
Title: Re: Steam VR Playmaker Toolkit [Asset] [15% Mega Sale!]
Post by: sebaslive on April 18, 2017, 08:52:54 PM
Hey Mark!

I completely get what you mean! For swiping there is no official way to do this according to the steam api but I can work on a script to get it working. Please, email Frametaleinfo[ @]gmail.com and I will send you the script when it is ready.

Thanks!
Title: Re: Steam VR Playmaker Toolkit [Asset]
Post by: sebaslive on June 12, 2017, 05:48:37 PM
For anyone having trouble with the latest Unity v5.6 and Steam 1.2.1

Quote
The current beta version of Unity 5.6 breaks the normal operation of the SteamVR_UpdatePoses component (required for tracked controllers). To work around this in the meantime, you will need to manually add the SteamVR_UpdatePoses component to your main camera.

Edit: Also, the update poses script has to be changed. Replace it with the one attached. That should work. Hopefully steam vr and unity become compatible again soon with a future update. If not, there will be changes to the toolkit to accommodate the new player prefab. If there are any problems, or questions, please let me know!
Title: Re: Steam VR Playmaker Toolkit [Asset]
Post by: kavery on February 26, 2019, 07:19:38 PM
I'm getting a bunch of errors trying to import Steam PM tools. Any help would be great! I've used this in the past with no problems.

Unity 2017.4.2

PM 1.9.x
Title: Re: Steam VR Playmaker Toolkit [Asset]
Post by: sebaslive on February 26, 2019, 08:26:34 PM
Hi Kavery,

These errors are telling me that the Steam VR Asset is missing.

https://assetstore.unity.com/packages/tools/integration/steamvr-plugin-32647

If you are using an earlier version of unity, it is recommended to use Steam VR 1.0

Found at the bottom of this page.

https://github.com/ValveSoftware/steamvr_unity_plugin/releases?after=2.2b3
Title: Re: Steam VR Playmaker Toolkit [Asset]
Post by: UCRS on March 26, 2019, 06:15:34 AM
I bought this because the tutorial, which you also link in your app profile.
I am getting a whole array (27) of errors, here are a few:
Assets\SteamVR_Playmaker\GetControllerPositionAndVelocity.cs(7,30): error CS0246: The type or namespace name 'SteamVR_TrackedController' could not be found (are you missing a using directive or an assembly reference?)
Assets\SteamVR_Playmaker\GetControllerPositionAndVelocity.cs(13,14): error CS0246: The type or namespace name 'SteamVR_Controller' could not be found (are you missing a using directive or an assembly reference?)
Assets\SteamVR_Playmaker\GetGrip.cs(8,30): error CS0246: The type or namespace name 'SteamVR_TrackedController' could not be found (are you missing a using directive or an assembly reference?)
Assets\SteamVR_Playmaker\ChangeTouchpadModelController.cs(7,30): error CS0246: The type or namespace name 'SteamVR_TrackedController' could not be found (are you missing a using directive or an assembly reference?)
Title: Re: Steam VR Playmaker Toolkit [Asset]
Post by: tcmeric on March 26, 2019, 08:51:25 AM
Sounds like you are missing the steam VR asset or have the wrong version installed.
Title: Re: Steam VR Playmaker Toolkit [Asset]
Post by: UCRS on March 26, 2019, 09:21:02 AM
Sounds like you are missing the steam VR asset or have the wrong version installed.

I started the project today and downloaded the newest versions of all assets. Maybe that is my mistake - thinking them all up-to-date?
Title: Re: Steam VR Playmaker Toolkit [Asset]
Post by: sebaslive on March 26, 2019, 10:37:58 AM
I will take a look at the files. What the error is telling me is that Steam VR is missing but it may be that Steam VR has updated their files again. (They have been tweaking steam vr once a month this year)

Edit: It should work, make sure you also have your actions set up as well.
Title: Re: Steam VR Playmaker Toolkit [Asset]
Post by: UCRS on March 27, 2019, 03:00:29 AM
I will take a look at the files. What the error is telling me is that Steam VR is missing but it may be that Steam VR has updated their files again. (They have been tweaking steam vr once a month this year)

Edit: It should work, make sure you also have your actions set up as well.

I am a "newb", but I have done the same as in your linked video in 3 projects and tried it again on a 2017 version - none of them work :(

Edit: I found the answer - Valve have updated the code to use the new SteamVR Input system (removing the previous Controller system)

https://stackoverflow.com/questions/52451153/steamvr-controller-could-not-be-found (https://stackoverflow.com/questions/52451153/steamvr-controller-could-not-be-found)
Title: Re: Steam VR Playmaker Toolkit [Asset]
Post by: UCRS on March 27, 2019, 04:33:45 AM
However, using the older version, of steam VR 1.2.3, creates another issue when using the "Get Trigger" action. So I don't think it is a solution to use an older version of steam.

As can be seen below the controller is identified as "outside the bounds".

IndexOutOfRangeException: Index was outside the bounds of the array.
SteamVR_Controller.Input (System.Int32 deviceIndex) (at Assets/SteamVR/Scripts/SteamVR_Controller.cs:152)
HutongGames.PlayMaker.SteamVR_FSM.GetTrigger.get_controller () (at Assets/SteamVR_Playmaker/GetTrigger.cs:16)
HutongGames.PlayMaker.SteamVR_FSM.GetTrigger.OnUpdate () (at Assets/SteamVR_Playmaker/GetTrigger.cs:80)
HutongGames.PlayMaker.FsmState.OnUpdate () (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/FsmState.cs:265)
HutongGames.PlayMaker.Fsm.UpdateState (HutongGames.PlayMaker.FsmState state) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:2783)
HutongGames.PlayMaker.Fsm.Update () (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:1995)
PlayMakerFSM.Update () (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/PlayMakerFSM.cs:586)
Title: Re: Steam VR Playmaker Toolkit [Asset]
Post by: sebaslive on March 27, 2019, 12:11:35 PM
Inside the extra folder there are actions for Steam VR 1.0. You can remove the newer actions and open the ones inside this folder if you wish to use the older version of Steam, BUT the main issue is that 2.0 with all the latest updates aren't working.

So I first installed Unity 2018.3.10 which is currently the latest version.
Next I went to the asset store and imported the latest version of SteamVR Plugin.
-> In Unity under window, you have to select SteamVR Input. And select Save and generate (found in the bottom left) This will install the necessary inputs that the toolkit will use.
Next, I imported the lastest version of playmaker. (And went through the install process with the welcome to playmaker window)
Last, I imported the latest version of Steam VR Playmaker which works with Steam VR 2.0.

I am running it now without any errors. I will work on a new video that will hopefully reflect the process better to go with the ongoing updates. Please let me know what issues you run into, which version of Unity as well. The latest updates only show on the latest version of Unity, which may also be causing the issue.
Title: Re: Steam VR Playmaker Toolkit [Asset]
Post by: UCRS on March 28, 2019, 03:35:23 AM
Inside the extra folder there are actions for Steam VR 1.0. You can remove the newer actions and open the ones inside this folder if you wish to use the older version of Steam, BUT the main issue is that 2.0 with all the latest updates aren't working.

So I first installed Unity 2018.3.10 which is currently the latest version.
Next I went to the asset store and imported the latest version of SteamVR Plugin.
-> In Unity under window, you have to select SteamVR Input. And select Save and generate (found in the bottom left) This will install the necessary inputs that the toolkit will use.
Next, I imported the lastest version of playmaker. (And went through the install process with the welcome to playmaker window)
Last, I imported the latest version of Steam VR Playmaker which works with Steam VR 2.0.

I am running it now without any errors. I will work on a new video that will hopefully reflect the process better to go with the ongoing updates. Please let me know what issues you run into, which version of Unity as well. The latest updates only show on the latest version of Unity, which may also be causing the issue.

Thanks for the quick reply :)
I have done what you suggest, which did not work and I just tried in a new project again.
I am running the latest version of unity (Unity 2018.3.10) and installed the newest version of SteamVR through the Unity editor and Playmaker (Unity2018.3.Playmaker.1.9.0.p12). I have "Save and generate" the actions aswell, but I am still getting the 27 errors after installing your asset.
Also - [SteamVR Input] Saved actions manifest successfully. So the actions should have been generated.
Title: Re: Steam VR Playmaker Toolkit [Asset]
Post by: UCRS on March 28, 2019, 03:41:37 AM
I just tried using the advanced option in the SteamVR input and created a action set for my project -this did nothing.

I have found "SteamVR_TrackedObject.cs" and "SteamVR_TrackedObject.cs.meta" in the folder Steamvr > Scripts 

My lack of coding knowledge really shows here. I tried coping all the files to different folders in hopes of there bring a reference error, but with no luck :)
Title: Re: Steam VR Playmaker Toolkit [Asset]
Post by: sebaslive on March 28, 2019, 11:26:16 AM
Can you send me your project file to info@frametalestudios.com. I really want to get this resolved for you to get started on your project.
Title: Re: Steam VR Playmaker Toolkit [Asset]
Post by: UCRS on March 29, 2019, 04:51:53 AM
Can you send me your project file to info@frametalestudios.com. I really want to get this resolved for you to get started on your project.

Thanks a lot. I have send a mail!
Title: Re: Steam VR Playmaker Toolkit [Asset]
Post by: sebaslive on March 29, 2019, 02:04:04 PM
So sorry can you send another to frametaleinfo@gmail.com. I got my emails confused!
Title: Re: Steam VR Playmaker Toolkit [Asset]
Post by: sebaslive on April 01, 2019, 12:25:17 PM
Hey All, Just a quick note the toolkit in the Unity asset should look like this.

(https://ibb.co/10T2228)

Found in the latest versions of Unity. Also to be wary of other steam playmaker toolkits that are named similarly in the asset store and, as the date of this post, are currently not updated to Steam VR 2.0.
Title: Re: Steam VR Playmaker Toolkit [Asset]
Post by: sebaslive on April 03, 2019, 12:01:41 AM
UCRS, I sent you a reply to your email. I am not sure if you have seen it.
Title: Re: Steam VR Playmaker Toolkit [Asset]
Post by: jessidion on December 05, 2021, 12:41:39 AM
How did you fix this please? I have the same problem.
Title: Re: Steam VR Playmaker Toolkit [Asset]
Post by: sebaslive on December 05, 2021, 08:59:55 PM
Hi, What issue are you having?