I am using a VIVE tracker to mix UE4 with a real camera, but the real camera lags behind. I got the coordinates about 0.2 seconds before the tracker and set it on the camera of UE4. Is there such a node as “get the coordinates before ~ seconds”?
No, but you know what happened 0.2 second ago because you were there at some point. I hope I understood your intent correctly here. The following will give you the location as it was .2s ago providing we’re running at 60fps.
Every frame you add a location to an array. Once you have 12 stored, you read it and record it; and then remove the oldest entry from the array, making space for another one.
This way this variable always contains the laggy .2s old location.
There might be a better way, consider waiting for more answers.
Thank you!
So that’s it! I’ll try!