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.


Messages - andycoke

Pages: [1]
1
Hi djaydino. Yes, I've looked at them both, they both say they use the Main Camera. I need to take the pick from an Oculus camera.

Originally I used uGuiVrGazeButton from the Ecosystem. It works fine if using without a headset. As soon as I put a headset on, the pick is below centre. It's so close but no good as it is. I posted about it here -
http://hutonggames.com/playmakerforum/index.php?topic=16074.0

2
Playmaker Help / Re: uGuiVrGazeButton on Ecosystem
« on: November 17, 2017, 07:30:42 AM »
Thanks Jean.

I've had a look at the other post but it doesn't seem like it was resolved. I'm still stuck on this so I've you've any more thoughts it would be a great help.

3
hi westingtyler, did you manage to get to the bottom of this? I'm stuck with the same issue.

4
Playmaker Help / uGuiVrGazeButton on Ecosystem
« on: November 06, 2017, 07:08:39 AM »
I've downloaded the uGuiVrGazeButton from the Ecosystem and it works great if I'm just using the mouse pointer. Now I'm trying to use it with a Oculus headset, either with a standard camera or on a Oculus camera rig but it's not quite working, the Raycast is not centre to the camera, it ends up hitting somewhere below centre.

I don't fully understand the 'Rect Transform World to Screen Point' action and how the Screen Position relates to the Camera in World space.

Can anyone help?

Thanks in advance.

5
Playmaker Help / Re: Raycast for UI elements
« on: October 30, 2017, 09:03:46 AM »
Thanks djaydino, much appreciated.

6
Playmaker Help / Raycast for UI elements [SOLVED]
« on: October 26, 2017, 03:14:44 AM »
Hi all, I've been using a Raycast on a camera and pointer to select/interact with gameObjects which works fine. I want to use a similar method for UI elements. From what I understand I need a Graphic Raycaster but that doesn't seem to be in Playmaker or the Ecosystem. Am I missing something?
https://docs.unity3d.com/Manual/script-GraphicRaycaster.html

I've looked at using GUI Element Hit Test but it seems a bit backwards as I have to attach to every UI element, rather than just once to the camera/pointer. Also, I have to add an old GUI Texture component to each element.

Many thanks, Andy

7
VR Help / Load Level using Steam VR
« on: July 11, 2017, 03:33:44 AM »
Hi all,
I'm using 'Load Level' on a SteamVR project. Every time I load a new level I see the Steam VR compositor\loading screen for half a second or so, when what I am after is just a black/blank screen.

From what I understand I need to use SteamVR_LoadLevel but I've no idea how to make that work with Playmaker.

Can anyone help?

Many thanks

8
Playmaker Help / Re: 1 action for multiple game objects
« on: October 29, 2016, 07:01:31 AM »
Perfect, great link.

Thanks djaydino.

9
Playmaker Help / 1 action for multiple game objects
« on: October 28, 2016, 10:00:51 AM »
What I'd like to do is set the position of 20 gameObjects to the same  position on a single event. The only way I know of how to do this is to create 20 separate 'set position' actions for every gameObject which seems crazy.

Is there a better way to do this?

Thanks in advance.

10
Thanks for the post J, I managed to work it out in the end.

If anyone is stuck on this in the future, this worked for me...



11
Playmaker Tips & Tricks / Google Cardboard GazeInput using Playmaker
« on: March 20, 2016, 12:38:49 PM »
Posting here as a follow on from another thread, where I ran into a wall -
http://hutonggames.com/playmakerforum/index.php?topic=12326.new;topicseen#new


Following the steps from the previous post:

1. Whatever object you wish to turn into a gaze trigger, make sure it has a Collider component. Note that you *don't* have to check "IsTrigger"--it will work anyway.
*Clear

2. Attach Playmaker's Raycast action to an FSM in the MainCamera inside Cardboard's Head object.
*Clear

3. On the Raycast action, set Direction to X: 0, y: 0, Z: 1. This makes the raycast always aim directly forward from the Main Camera.
*Clear

4. Set the Hit Object and Hit Event to any variables you like, and you're done!
*This is where I am going wrong.


In a really simple example, I have a cube and I have used Playmaker to set up 2 states. Using Set Material colour, mouseEnter is red, mouseExit is black. This works fine pre Cardboard. After Steps 1-3, what do I need to do to make this work with GazeInput and Gaze click?

Much appreciated if anyone can help.



12
@TellMeTellMeDontTellMe thanks for the post, I am trying to do this and I am running into problems.

Following your steps:

1. Clear
2. Clear
3. Clear
4. This is where I am going wrong.

In a really simple example, I have a cube and I have used Playmaker to set up 2 states. Using Set Material colour, mouseEnter is red, mouseExit is black. This works fine pre Cardboard. After Steps 1-3, what do I need to do to make this work with Gaze alone and Gaze with click?

Much appreciated if you can help.

Pages: [1]