Good news for anyone using InputVCR, it’s been updated to be better and easier to use! It has had a major rewrite, and is unfortunately no longer compatible with old recordings or many access methods. In return, it is far less fiddly to use and has much better documentation.
InputVCR is a helper package to make recording and playback far, far easier. Use it for ghost players, puzzles, demo playback or even delayed multiplayer. Try the terrible demo to see a basic example.
The new version is up on GitHub (always the latest) or on the Asset Store (also includes an example setup, and a handy script for smoothing location updates)
One of my current projects, needed the ability to record player input, then play it back on an object. This is something I’ve had to do several times already. In Muckraker it was how you could ‘film’ something. Rather than record all the changing variables on an object/character (position, rotation, whether they are firing…) you can in most cases just record what the player does. When you play back this input, the object will do the same things and act the same way. (keep in mind that external inputs, like physics, can make the object drift off course after a while, but this can usually be minimised). Even so, keeping track of inputs and playing stuff back without ‘live’ input getting in the way can be a headache.
“There’s got to be an easier way!” (you may say)
[UPDATE: Example project now available in the asset store. Or check out the example scene]
Continue reading InputVCR – Make recording/replaying actions in Unity a bit easier