Thanks for all your advice!
Basically I want to store recent HMD/Motioncontroller tracking data so that in my multiplayer I can then use slightly older data.
To artificially introduce some lag compensation so that server player (listen server p2p) has less of an unfair advantage and so that Client play is closer to actual server play.
So it will be the local and not replicated data (I think).
I don’t think it has to be 100% accurate its probably ok with small time drifts I would guess.
Actually when I start looking at the numbers I’m realising that the array wouldn’t be that long at 90hz if I only want to go up to around 50ms max delay.
As that would be about a length 5 array. So pretty manageable.
I’ll just do some function with a loop in Blueprints to shift the value positions as new values come in. Always keeping the freshest value at .
Not too hard. Interpolation at use time might be nice though…I’ll think about that.