Hi, I’m trying to rotate a 2D plane on its X axis based on the X axis of the mouse. If you’ve ever played Metal Gear Rising, that’s how Blade Mode works.
The issue is the fact that I am also constantly setting the plane’s location and rotation to the ones of the active camera during this, in the event tick. So, I am not sure if I have to combine the rotator made with the mouse X and the one given by the camera and then plug that into Set Actor Rotation.
I tried that and the plane had some sort of inertia, like it was being pulled back to the current camera rotation at all times.
Do you have any code that snaps the mouse position back to the center? If so, you’ll need to create a variable and add GetMouseX to it and use the variable as input to Make Rotator.