playMaker

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - HendrikB

Pages: [1]
1
Share New Actions / Oculus Go and Gear VR Controller Actions
« on: September 11, 2018, 02:28:54 PM »
** UPDATE - 2019/01/28**

For anyone doing Oculus Go or Gear VR projects and who need some custom actions to check for input from the VR controllers, I hope these will be of some use to you in your projects.

You can find all the actions I have created on my Github account: https://github.com/HendrikZA/general-playmaker/tree/master/oculus%20go%20and%20gear%20vr

Here is a list of the current actions I have created for everyone to use.

OculusGoButtonDown.cs
This was the initial action I wrote which contains many of the features of the others below in a single action. I prefer using the smaller actions below as it looks neater in the FSM :)

OculusGoBackButton.cs
Checks if the Oculus Go or Gear VR back button was pressed.

OculusGoCapacitiveTouch.cs
Check if the Oculus Go or Gear VR capacitive touchpad was touched, in which direction and you can also get the actual axis of the touches to use for FPS games etc.

OculusGoDpadButton.cs
Checks if the Dpad button was pressed or released.

OculusGoDpadDirection.cs
Checks if the Dpad button was pressed in a specific direction, such as up, down, right, left, or diagonally.

OculusGoDpadSwipes.cs
Checks if the Dpad was swiped in a specific direction.

OculusGoHMDStatus.cs
Checks if the Oculus Go headset is on the face or has been removed.

OculusGoInputSource.cs
Checks if the right-handed or left-handed controller is connected, or if only the headset is connected, e.g. Gear VR without controller

OculusGoPhysics.cs
Gets various useful statistics about the controller, such as acceleration, rotation, position or velocity.

OculusGoRotationAndDirection.cs
This can be used to detect if the controller has been rotated left or right with some force (for weapon switching, or for quick turns in FPS games as an example). It can also check if the controller is pointing directly up or down (useful for reloading gestures).

OculusGoTriggerButton.cs
Checks if the Oculus Go or Gear VR trigger button has been pressed or released.

2
VR Help / Oculus Go and Oculus Gear VR Actions
« on: May 28, 2018, 05:06:51 AM »
Hi folks,

Does anyone know if there custom actions available for Gear VR and Oculus Go please? I've looked around and can't find any. I'd like to be able to interact with UI but also with game objects in the game that have colliders. I can do it from C# code using call backs etc., but as I love Playmaker and prefer to use state machines when working on new proof of concepts, just wondered if anyone has any actions they can share or knows if the standard Playmaker actions can work for object interaction?

Thanks!
Hendrik

3
Playmaker Help / Errors always after trying to import uGui package?[SOLVED]
« on: February 12, 2017, 06:44:29 PM »
Hi guys,

I import Unity4.6.PlayMaker.1.8.3.f4. This is all fine and Playmaker works until I install uGui package.

When I try to import uGui package either from Ecosystem or from PC after download from Playmaker site, I get loads of compiler errors.

I even went and created a fresh new Unity project, imported Unity4.6.PlayMaker.1.8.3.f4 and then uGui package immediately after and it happened again  :'(

I see the following example errors in my console:

Assets/PlayMaker Custom Actions/uGui/uGuiToggleSetIsOn.cs(10,42): error CS0246: The type or namespace name `FsmStateAction' could not be found. Are you missing a using directive or an assembly reference?
Assets/PlayMaker Utils/Event Properties/Actions/GetEventProperties.cs(12,43): error CS0246: The type or namespace name `FsmStateAction' could not be found. Are you missing a using directive or an assembly reference?
Assets/PlayMaker Utils/Event Properties/Actions/SetEventProperties.cs(14,43): error CS0246: The type or namespace name `FsmStateAction' could not be found. Are you missing a using directive or an assembly reference?
Assets/PlayMaker Utils/Wizards/LinkerWizard/LinkerData.cs(18,7): error CS0246: The type or namespace name `PlayMaker' could not be found. Are you missing a using directive or an assembly reference?
Assets/PlayMaker Custom Actions/uGui/uGuiSliderSetWholeNumbers.cs(10,50): error CS0246: The type or namespace name `FsmStateAction' could not be found. Are you missing a using directive or an assembly reference?


The above are just some examples of what I am seeing. Even if I try to re-import Playmaker and close Unity and re-open the error persists.

My version of Unity is 5.4.0.f3

Am I missing something silly? Would really appreciate any help. Let me know what else you need. I have attached a full list of the errors from my log in Unity.

Thanks,
Hendrik

PS: I also noticed that the Playmaker Editor window is missing now, and there is no longer a Playmaker menu option in Unity. I suppose it is related.

Pages: [1]