Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: SammyJoeUK on June 09, 2015, 01:50:47 PM

Title: Quick Question on Xbox Controller Trigger Buttons
Post by: SammyJoeUK on June 09, 2015, 01:50:47 PM
How?! Just how?!

I understand that the trigger buttons on xbox controllers aren't like traditional  buttons and they work on an axis instead but I'd like the Right Trigger (RT) to be used to make a character run - how do I do this? Are the triggers on one of the key up events (Joystick Button 1 - 19) or are they done differently?

Thanks

sj

Title: Re: Quick Question on Xbox Controller Trigger Buttons
Post by: terri on June 09, 2015, 04:03:18 PM
Yeah it's axis, you can check the magnitude and if it's over a certain number you make the character run.
Title: Re: Quick Question on Xbox Controller Trigger Buttons
Post by: Lane on June 09, 2015, 04:24:57 PM
(http://wiki.unity3d.com/images/a/a7/X360Controller2.png)

It's a pressure sensitive button and therefore an axis (can be something other than 0 or 1).
Title: Re: Quick Question on Xbox Controller Trigger Buttons
Post by: SammyJoeUK on June 09, 2015, 04:49:26 PM
What're the actions I should use in order to get this working?
Title: Re: Quick Question on Xbox Controller Trigger Buttons
Post by: Lane on June 09, 2015, 05:07:52 PM
Which input controller asset are you using?
Title: Re: Quick Question on Xbox Controller Trigger Buttons
Post by: Chris Vitorino on August 21, 2015, 12:16:35 AM
I had the exact same problem. I've found a solution for it, posted it here: http://hutonggames.com/playmakerforum/index.php?topic=10997.0