CC4_Timeline - RosoVRgarden/VRgarden-tutorials GitHub Wiki

VRgarden tutorials: CC4 Unity Animation

Applying animations

Part I - Create a Timeline

  1. Select the CC4 character in the hierarchy then create a timeline (assets > create > timeline)

  1. Import animations from the package manager. I currently have four packs: Kawai Animation, Omni Animation - Core Locomotion, Synthi Animation, Amplify Animation Pack and AA Sleep Animations Package.

See what you are looking for such as idle, walk, run, jump, turn, crawling, swimming, sit or sleep, ... Kawai has got a wide range of cute animation and AA Sleep Animations has got plenty of sleeping animations.

https://docs.google.com/spreadsheets/d/1x2y1gdYyp0o8gbY3wD-uo0aP3StBli9tVHWoTX45USY/edit?gid=1607146699#gid=1607146699

  1. Once you have installed one or another such as AA sleep. Control click on the Inspector and add a tab with a new project window.

  1. Go to the Assets folder > AA_Sleep > Animation. Click on the triangle to access all the animations clips. Click and grab the animation clip and put it in the timeline. For example, add AA_sleep_on_back_to_left_idle then AA_sleep_on_left_loop for a while then AA_sleep_on_left_to_back to create an animation where the character sleeps from one side to the other side then back.

  1. Test the combination of animations by clicking the play button in the timeline.

  1. When you play the clips, the characters might not be in the right place. You will need to offset their position. You can do it manually by selecting the clip and changing the offset.

Or or you can use a tool that I have made to help you place the clips wherever you need it. The tool is in the tool menu. You need to specify which character you are using, then where is the Timeline Asset (the name should be similar). Then choose if you want the offset to work on one clip or all the clips.

In the scene, you then can use the orange circle to show you where you want the character, press SHIFT and the offset will done for you.

Here is a link to the offset tool. Import in the asset and it will directly be installed in the Tool menu of Unity.

https://github.com/RosoVRgarden/VRgarden_OpenXR22/blob/main/Assets/Scripts/TimelineOffsetEditor.cs

⚠️ **GitHub.com Fallback** ⚠️