APlayerController::GetInputMouseDelta doesn’t behave the way I expected it to, so I must have some misconceptions about it. Would you please help me clear it up?
Here’s what I tried. I have the following in my AActor::Tick:
I then dragged my cursor from the left edge of my viewport to the right edge of it, and compared the change in the values of totalDx. I expected the difference to be something like my viewport size (1144), but it is instead around 60 and fluctuates each time I tried it.
Oh wow. Ok. Thank you very much! This clears it up.
I got confused because APlayerController::GetMousePosition outputs viewport coordinates. I thought GetInputMouseDelta was related enough that it’d use the same units of measurement. Now I see that it doesn’t.