Skip to content

romainf-unity/animation-jobs-samples

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Animation C# Jobs Samples

The Animation C# Jobs Samples repository includes examples of Playable graphs using Animation C# Jobs. For more information, see AnimationScriptPlayable.

The samples

SimpleMixer

This sample shows how to mix two clips together on a generic character.

WeightedMaskMixer

This sample is based on the SimpleMixer, but you can change the weights of some joints (left arm, right arm, and head), so that the second clip only applies based on the joint weights.

LookAt

This sample adds a look-at behaviour on a Chomper, a quadruped creature from the 3D Game Kit.

TwoBoneIK

This sample adds a two-bone IK on a generic human character.

FullBodyIK

This sample create a fullbody IK on a humanoid character.

Technical details

Installation

Simply git clone the repo somewhere and open the newly created directory with Unity (2018.2 and later).

Optionally, the GraphVisualizer can be used to have a visual representation of the graphs in the samples.

Project contents

The following table indicates the structure of the Assets/animation-jobs-samples directory:

Location Description
Resources Contains the resources for the samples (e.g. meshes, textures, animations, ...).
Runtime/AnimationJobs Contains the animation C# jobs.
Samples/Scripts Contains the sample C# scripts.
Scenes Contains the sample scenes.

Document revision history

Date Reason
July 4, 2018 Improved the documentation.
June 22, 2018 Improved FullBodyIK pull solver.
June 18, 2018 Moved to GitHub.
June 01, 2018 New way of testing the samples.
May 30, 2018 First public release: 0.5.0-preview.
May 07, 2018 Creation of the package.

About

Code samples using the animation C# jobs feature.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 92.2%
  • ShaderLab 7.8%