Record and Play Character Movements_Text - SIGVerse/sigverse_unity_project GitHub Wiki

Record and Play Character Movements (Save to Text file)

This example provides the recording and playback function of a human avatar movement. The movement is recorded on a text file.

Startup Procedure

Execute the example scene according to the following steps.

  1. Open the SIGVerse project in Unity.
  2. Double-click [Assets/SIGVerse/ExampleScenes/Playbacker/Playbacker(.unity)] on the [Project] tab to open the target scene.
  3. Click the play button at the top center of the Unity to play the scene.

Recording to a Text File

  1. Select [Text Recorder] for Mode.
  2. Make some settings such as [Output File].
  3. Click the [Start] button to start recording to a text file.
  4. Operate the character using arrow keys.
    (Click [Baby icon] to show/hide the panel.)
  5. Click the [Stop] button to stop recording to a text file.

Screenshot of the example scene.  (It might differ from the latest version) PlaybackTextRecording

Playback from the Text File

  1. Select [Text Player] for Mode.
  2. Set the file path for recording to [Input File].
  3. Press the [Start] button to start playback.
    (Click [Baby icon] to show/hide the panel.)
  4. When the [Stop] button is pressed or the recording time elapses, playback ends.

Screenshot of the example scene.  (It might differ from the latest version) PlaybackTextRecording


Reference Video  (It might differ from the latest version)
Movie