[VRChat] [UdonSharp] Time Replay
- ダウンロード商品¥ 500
![[VRChat] [UdonSharp] Time Replay](https://booth.pximg.net/a4d33244-eb9e-4d48-8f22-8d689ee7cd5c/i/3695687/109d8a5b-75b2-420e-8e05-ab75a272151f_base_resized.jpg)
UdonSharp script that allows you to continuously record the Position and Rotation of a GameObject with a specific time buffer length and then replay that buffer either forwards or backwards at any time. The controller itself can be changed to either continuously keep overwriting old data during recording or stop itself as soon as the limit has been reached. You can Replay the recording at any time either forwards or backwards as long as you have something recorded. During recording it'll stop recording and then play the last x seconds recorded accordingly to the limit you set. Example: Racing world and if you crash and begin flipping, you could replay last x second(s) provided you've started recording and have it set to continuous mode If you already know what the max time limit will be at all times you can enable a pre-allocation checkbox and chose max length for the buffer. Includes a quick example scene built upon it where you can hold F and record yourself jumping around and then it'll automatically rollback to where you began recording the moment you run out of time or release F.