playMaker

Author Topic: Unity Dual Joystick Output to PlayMaker FSM: How to?  (Read 5024 times)

cmonroy

  • Playmaker Newbie
  • *
  • Posts: 34
Unity Dual Joystick Output to PlayMaker FSM: How to?
« on: April 12, 2014, 08:05:33 AM »
Greetings.

I have a basic scene in Unity: plane, light, camera, character and Dual Joystick prefab from Standard Assets (mobile). Using a remote controller installed in my Android device, I can control the joysticks and I have changes in the X-Y position of the control, as I can see in the Inspector.

My question is how can I pass the values at the Joysticks to an FSM in order to use them? Something like:

posx = left.joystick.position.x

Thank you.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Unity Dual Joystick Output to PlayMaker FSM: How to?
« Reply #1 on: April 14, 2014, 08:28:24 AM »
Hi,

 you'll need to use something like InControl. Cause doing it manually will be a nightmare to setup...

https://www.assetstore.unity3d.com/#/content/14695

if you decide to use this, pm me, I have beta custom actions for PlayMaker to use InControl.

bye,

 Jean

WarpZone

  • Playmaker Newbie
  • *
  • Posts: 9
Re: Unity Dual Joystick Output to PlayMaker FSM: How to?
« Reply #2 on: October 10, 2016, 07:48:57 PM »
I'd like a copy of those custom actions, too.  PMing you.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Unity Dual Joystick Output to PlayMaker FSM: How to?
« Reply #3 on: October 11, 2016, 06:04:56 AM »
Hi,

 It's on the wiki now:

https://hutonggames.fogbugz.com/?W1183

 Bye,

 Jean