I am super new to programming and blueprints, so right now I’m kind of learning through various tutorials and a lot of trial and error, so please forgive me if I say something really dumb lol.
I have a very basic blueprint function set up to rotate my camera around a top-down left click to move character using the A and D keys for left and right respectively. But the rotations are instantaneous and very snappy.
I’m looking for a simple solution for smooth yaw rotation where I can hold down either key for continuous rotation until release, without having to resort to checking pawn control in the spring arm, mapping rotation to mouse XY 2D-Axis or anything like that. Just simple smooth keyboard control for separate left and right rotation. Any help would be greatly appreciated. Thanks!
The interpolation you’re attempting to incorporate relies on sampling previous data. Consider switching to the new Enhanced Input system which outputs values every frame thus allowing to dramatically simplify this kind of behaviour.
Thank you very much for your response! The Project Settings Input Axis Mappings did work, but I finally figured out how to make the Enhanced Input Action system work with both keys using a multiplication node.
I’ve been trying to figure this out forever, and now it makes sense. I feel like an idiot haha. The Camera Rotation Lag makes it feel quite smooth as well. I appreciate the assistance!