Need guide on player action replay system

I am trying to make a system that can replay the player’s action and would like to know what the best way of doing this is.

I have tried:

  • Saving the position/orientation every frame; which is very unoptimized

Any help would be apperciated!

You can save the CFrame every few frames instead of every single frame, and interpolating between them.

You can go further by saving their velocity to improve interpolation and saving the CFrame only when a direction change occurs.

If you want to compress that data, check out buffers.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.