iChun / Keygrip

Mocap mod allowing you to record and rerecord over your previous recordings to create a scene full of life and people. Full User Interface available.
GNU Lesser General Public License v3.0
8 stars 2 forks source link

Playback is out of sync visually when recording a second action #6

Open Talon2863 opened 8 years ago

Talon2863 commented 8 years ago

So I've been using this mod for a week or so with no issues (it's possible I didn't notice the issue at first), but recently this problem has been showing up.

  1. So I create a new project, a new action, and then record Action 1.
  2. Then I create a second new action and record that. While I record the second action I attempt to mirror the first actions movements.
  3. Then, when finished with that, I playback the scene from the start, expecting a little imperfection due to my own reaction speed. What happens, though, is a fair bit different because the second action is probably about a second or more behind the other one.

I've attempted to solve this problem myself, by restarting Minecraft, making a different scene and trying again, using characters that don't require any skins to be downloaded from the internet, making sure the action timer for both actions is at 0 (it always is), etc.

The strangest part of course is that it was working fine previously, so presumably I must have messed something up somewhere.

Another thing that might be useful to note is that I believe this problem started when I was creating two actions that both required a skin to be downloaded. And I have had slow internet so it would usually take a second or two when I started recording Action 2 before Action 1 would show up. However the problem still persisted after I used the default skin (my own). Also as I said before I was using it just fine for a week or so before, and that week included loading skins from the internet with no out of sync issues.

Talon2863 commented 8 years ago

After messing around with things some more (I really like this mod and want to figure out how to get it to work if there's something I can fix on my end) I have gathered more data that could prove useful to fixing this bug.

First is that if I create two new actions where I press forward at the same time that I press the 'record' hotkey the actions match each other identically (although while recording the second action the first 'actor' seems to be far behind). Second is that if I record a dummy action as Action A, and then attempt to mirror his moves in Action B, and then mirror B's moves with Action C, all three actions are slightly staggered. However if I mirror Action A's moves with both B and C then B and C will be in sync while Action A will be ahead.

So my conclusion from those two things is that it is not a matter of lag, but is either due to an internal latency while recording an action or an internal latency of the playback (of the other actors) while recording a new action.

I hope this proves useful, and if you have any other questions or things I can test that would help along this process, just ask.