playMaker

Author Topic: Clamp Rotations for Joypads Solution!! Check this out guys!  (Read 2088 times)

mrminico

  • Full Member
  • ***
  • Posts: 129
Clamp Rotations for Joypads Solution!! Check this out guys!
« on: January 06, 2017, 12:05:58 PM »
I recently posted that I needed help clamping Y rotations using a Joypad and making the same functionality as the mouse look script. I was so into finding out how to do this with Playmaker that I forgot I had some coding tricks myself up my sleeves. I ended up modifying the Mouse look script and made Input Look!



I've attached the script for everyone to use, All you have to do is drag and drop it to the playmaker>Actions folder. Please share and spread word on this, I know It will come in handy for EVERYONE using joypads to look around.  I hope one day this script will be integrated into Playmakers Input action. It's a function that I was surprised to see missing.

-Cheers and Happy creating! ;D

mrminico

  • Full Member
  • ***
  • Posts: 129
Re: Clamp Rotations for Joypads Solution!! Check this out guys!
« Reply #1 on: January 06, 2017, 12:08:23 PM »
Oh I forgot to mention be careful when using the XY Axes. If you leave the Input field for X or Y empty you can experience some frame drops.