Playmaker Forum

PlayMaker Help & Tips => Android Help => Topic started by: cmonroy on April 12, 2014, 08:05:33 AM

Title: Unity Dual Joystick Output to PlayMaker FSM: How to?
Post by: cmonroy 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.
Title: Re: Unity Dual Joystick Output to PlayMaker FSM: How to?
Post by: jeanfabre 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
Title: Re: Unity Dual Joystick Output to PlayMaker FSM: How to?
Post by: WarpZone on October 10, 2016, 07:48:57 PM
I'd like a copy of those custom actions, too.  PMing you.
Title: Re: Unity Dual Joystick Output to PlayMaker FSM: How to?
Post by: jeanfabre on October 11, 2016, 06:04:56 AM
Hi,

 It's on the wiki now:

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

 Bye,

 Jean