playMaker

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

Brighton

  • Playmaker Newbie
  • *
  • Posts: 9
    • View Profile
Joystick Controller Look action?
« on: June 03, 2013, 07: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: 15370
  • Official Playmaker Support
    • View Profile
Re: Joystick Controller Look action?
« Reply #1 on: June 03, 2013, 10:36:29 PM »
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