Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Brighton on June 03, 2013, 10:24:43 PM

Title: Joystick Controller Look action?
Post by: Brighton 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.
Title: Re: Joystick Controller Look action?
Post by: jeanfabre 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