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#newFollowing 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.