Hi,
I have the following setup. There is a spring arm with a camera attached to it. In some cases, I need to update spring arm target offset. But I noticed that the camera world location is not updated right away. In other words, if I print the camera world location, then change the target offset and then print it again, I get exactly the same output. I suspect that the camera location is updated in the following tick (although I cannot find any proof of that in the documentation). The problem is, that it seems that mouse wheel events which I use to trigger the target offset update may come more often than the tick itself (if you have a really fast mouse), which results in incorrect calculations, because two consecutive updates would use the same old value. Can anyone comment on that? To summarize, these are the two questions:
- If I update the target offset of a spring arm, when does it affect what I get from the camera’s GetWorldLocation?
- Is it true that MouseWheel events may actually come more often than tick events? In other words that there may be multiple MouseWheelUp/Down events between two tick events?
Thanks