com.xrtk.core icon indicating copy to clipboard operation
com.xrtk.core copied to clipboard

[PROPOSAL]: Add a Record and Replay framework

Open jdwalker opened this issue 5 years ago • 1 comments

XRTK - Mixed Reality Toolkit Feature Request

Is your feature request related to a problem? Please describe

I'm sick of putting my helmet on and off all the time when developing. It'd be useful if I could record my actions in VR, and play them back to test things.

How would you classify your suggestion

Architecture / Services

Describe the solution you'd like

I'd like to be able to record actions in the XRTK, including all headset, controller and button presses, and then play it back- e.g. if you recorded yourself picking up a box with the XRTK action, you could then repeat that in playing it.

Additional context

  • This may require making the physics engine in Unity as close to deterministic as possible - to avoid drift between actions and what colliders are reporting- possibly by running Physics Simulate between actions.
  • I'm planning to base it on top of the paid Record and Play, to ease serialization and deserialization of the actions, but to abstract it away so people can drop in their own alternative.

jdwalker avatar Jul 23 '20 13:07 jdwalker

Interesting tutorial on Replay frameworks published recently https://www.raywenderlich.com/7728186-creating-a-replay-system-in-unity

SimonDarksideJ avatar Sep 18 '20 16:09 SimonDarksideJ