Vive Headpose recording

Hi,

I’d like to record the trajectory of the headset and save it. Ideally, I’d like to use one of the controller to start/stop the record while in game.
I don’t know where to start, any help/advices will be much appreciated!
Thanks a lot!

.

How long will you be recording? My guess is add the position and delta time to an array every tick. You could also google people asking about Time Rewind mechanics.

Thank you !
My goal is to record very long sessions and save the trajectories as curves. I’d like to use the vive as a motion capture device for capturing a bunch of different head trajectories, and later “replay” them in UE4. I’m also working on creating a UI attached to one of the controller, where you can enter the output file name and then press a button to start/stop recording your motion.