playMaker

Author Topic: Joystick Controller Look action?  (Read 2121 times)

Brighton

  • Playmaker Newbie
  • *
  • Posts: 9
Joystick Controller Look action?
« on: June 03, 2013, 10:24:43 PM »
I'm trying to setup a third person controller.

I'm using the 360 controller and I have the 4th & 5th Joystick axis (right stick) mapped as inputs.

I'd like to use something like the Mouse look action, with looping Y rotation and clamped X rotation.

Could I map the 4th & 5th Axis to the Mouse X & Y signal? Or is there an alternate action that I could use?

I'm trying to use a mix of Get Axis Vector, Rotate, and then clamping Rotation floats. But it's giving me very bizarre behaviors.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Joystick Controller Look action?
« Reply #1 on: June 04, 2013, 01:36:29 AM »
Hi,

 that should work, are you properly debugging the values you get from the Unity Input manager? that's the first thing to look for, that the input values are what you expect.

bye,

 Jean