eduarditoperez / unity-ghost-recorder

A basic replay system for Unity Engine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GhostRecorder A replay system that records and replays GameObject's movements and rotation.

Video

You can see GhostRecorder in action here: https://youtu.be/AD2W5EXex5Q

WebGL Demo

You can also play around with it in a WebGL Demo: https://elmartalibzade.itch.io/ghostrecorder

Instructions

Simply drag and drop a GameObject that you wish to record inside of "Recorder" GameObject and a Ghost GameObject (which will mimic the original GameObject during the replay).

Variables

You can set how often to take "snapshots" of GameObject's state by tweaking the SnapshotFrequency. Please note that the lower it gets the more memory usage it will have.

You can also set for how long to record the GameObject, although you can end the recording prematurely. Note that changing the "Max Record Time" will increase the memory usage.

About

A basic replay system for Unity Engine

License:MIT License


Languages

Language:C# 100.0%