Trouble rotating an object using user input

Hi all.

I’ve been trying to get some basics down by having a warped cube rotating under the influence of user input.

I added a pawn, added a cube into its layout made and squished it down to be a plank of wood shape.

In the event graph I added the mapping I’d set up, and then reverted back to “Gamepad Left Thumbstick Y-Axis” as the mapping hadnt made any difference.

The output of the event sets the values used in an “AddLocalRotation” on the object I made and at that point, I get no rotation.

I output the values coming from the controller using print String, and they indeed splurge all over the screen, but for the life of me I cant figure out where I’m going wrong. If I set values directly into the addLocalRotation or makeRot, it spins as expected. As soon as something is using a dynamic value from user input, i get no dice. Its behaving like i’m trying to drive an analog motor with a digital signal. The values are there but the thing has no response.

Above is the output I’m getting while using the gamepad (x360), and below is the event graph showing that its using the same data for rotation.

So lost right now. After thinking it must be something with gamepad, I added a keydown/up node, wired the outputs to 2 set values and then used a getter to inject the values into the rotator. same result. (the unwanted nothing happens result, aka the bad result.

I figure someone must be chuckling and can enlighten me on this comically simple issue.

Have you tried taking the player input in the player controller, and passing the resulting variable to the player pawn?
You can then update using event tick based on the result of the variable.