Download

Why is GetControlRotation is returning zero?

Hi,
So I’ve been working on this game and I met with this weird bug where the GetControlRotation node is outputting zeros. I’ve tried everything logical but still haven’t found a solution yet. Please help.

I don’t see any indication from your BP that you’re affecting control rotation… Could you post that part please?

Yeah well I watched this tutorial and the person hooks up the node to update his head rotation without actually doing AddControllerPitch/YawInput and it wasn’t working for me. https://www.youtube.com/watch?v=gDpTInfUeKgthis is the link to that tutorial video. So let’s say the GetControlRotation only outputs the current rotation based on the AddControllerYaw/PitchInput node, then what’s the way to get the cursor rotation. I don’t want my player to rotate to that direction until the rotation hits a threshold value.