playMaker

Author Topic: How to ignore the value of an axis on a 360 gamepad  (Read 1991 times)

Sheridah

  • Playmaker Newbie
  • *
  • Posts: 14
How to ignore the value of an axis on a 360 gamepad
« on: September 21, 2014, 05:08:35 PM »
Hi,

I've created a 3rd person controller for my game which works fine with keyboard and mouse but now I'm trying to set it up for a 360 controller and it's not working properly. The problem is that I don't want the character to walk backwards which is easily done with the keyboard since you just remove the negative input button from the input manager. It's not as easy with the gamepad and I'm currently stuck with a moonwalking character...

Any tips on how to solve this are very appreciated :)

TrentSterling

  • Junior Playmaker
  • **
  • Posts: 89
  • Someday I'll make games!
    • My Blog
Re: How to ignore the value of an axis on a 360 gamepad
« Reply #1 on: September 21, 2014, 10:12:12 PM »
Try using Float Clamp to ensure the values don't go below 0?

Sheridah

  • Playmaker Newbie
  • *
  • Posts: 14
Re: How to ignore the value of an axis on a 360 gamepad
« Reply #2 on: September 22, 2014, 04:37:04 AM »
Float clamp works to stop the animation from playing but not the controller. She is gliding now :)