In enhanced input, the default IA_Look can be multiplied by a float value “Mouse Cam Spd” I added initially. However, when I’m trying to add “Controller Cam Spd”, there are 3 options I have in mind:
- Use another input action IA_Look_Controller, just for controllers. Brute way but works.
- Use “Event Tick” or “Any Key” to detect controller inputs, and if there is, then multiply camera speed in IA_Look by controller cam spd, otherwise multiply by mouse cam spd. This method fails sometimes because when I set 0.1 for mouse and 10 for controller cam spd, after rotating with Right Stick, and I rotate the camera with the mouse, it did not slow down until keyboard inputs are pressed, hence it remains the same speed.
- Casting to the scalar modifier and change by BP won’t work. idk why.
Just curious other than the 3 mentioned ways, are there any better/optimized method?
I’m trying to make mouse cam spd and controller’s independent.