playMaker

Author Topic: [Oculus] Questions about the playmaker oculus demo  (Read 50 times)

abend

  • Playmaker Newbie
  • *
  • Posts: 2
    • View Profile
[Oculus] Questions about the playmaker oculus demo
« on: October 10, 2018, 11:09:55 PM »
Ok, very new to this, I have some specific questions about the demo, I figure understanding how everything works here would be a great model to learn from. The demo I'm referring to has boxing gloves, light guns, a ball, and a little robot.

I have 2 specific questions.
1. I am trying to find out where the bullets come from. I am looking at the switchcontroller FSM, and I can see that on the Activate Gun state, there is an Enable FSM action that has a name of bulletEmission. I cannot find any other reference to bulletEmission literally anywhere. I've clicked around for a good long time, and I feel like I'm missing something small. I also want to add a little shooting sound, I feel like I can figure that part out once I understand the bullets.

2. I have managed to change the color of the light guns ,and keep them changed. That was a nice 'ah ha' moment. If you run the demo you will see that the guns orientation is way off for the touch controllers. I would like to re-orient them, but I can't figure out where - how - when they get changed to the controllers. I do understand that the activate gun action disables the gun on the counter, but I can't figure out the other half of it.

I just want to say thanks, I'm already really taken with the whole state machine, I can't wait to get to work making some fun stuff!


***Update***

I have found the lightPistol objects! I see now that we aren't moving the guns to the controllers, rather we are making the ones that I'm holding appear. From here I think I can manage to add some sounds for the shots. I was also able to re-orient the guns themselves so they fit in my hands better. So far this is really enjoyable. I don't think I could make complicated FSMs yet, but my confidence grows!
« Last Edit: October 10, 2018, 11:37:34 PM by abend »