I’m not sure how to describe it , but i will try to do it as best as i can , i also made a video of what i want to make and what i made for better clarification.
“Weapon Drag” as i call it , in the first person shooter games ,is when you move the mouse to left and right or up and down, weapon gets left behind a little bit and takes a little bit of time to adjust . it kinda gives the sense of motion .
I was trying to create this using the BlendSpace 2D , so i made 4 frames for top , down , left and right , and used it in the blendspace accordingly , and i used the “Axis value”'s for “Turn” and “LookUp” input as the driver for the X , Y parameters of the BlendSpace. (“Turn” and “LookUp” are movement inputs defined in the first person blueprint template).
I can say it is working , but it is not as smooth as i want it to be , the values of the axis change so much and so fast that it makes the dragging kinda wiggle around a tiny bit .
If you didnt quite understand what i say , you can see it in the video here , in the first 12 seconds you see “Call of duty : MW3” Weapon drag , which is what i want to make , the rest is my wiggly drag .
I tried converting the Axis values to an int value , or floor the value , or set the precision for the float ( i mean for example 1.37281319 to 1.3 with precision 1) , it is still wiggly . can anyone guide me on how to make it smooth please ? thanks in advance.