Skip to content
项目

关于

使用动画 C# Jobs 功能的代码示例。

设计与媒体

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Animation C# Jobs Samples

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

Compatible with Unity 2019.3 or later.

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.

Installation

Simply git clone the repo somewhere and open the newly created directory with Unity.

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.

探索相关项目

加载中…