Summary
An example of how to use Animation Jobs in Animancer to apply physics based damping to certain bones.
- Assembly
- Animancer
.dll - Namespace
- Animancer
.Examples .Jobs - Base Types
-
- MonoBehaviour
graph BT
Type-->Base0["MonoBehaviour"]
Type["Damping"]
class Type type-node
Syntax
[AddComponentMenu(Strings.ExamplesMenuPrefix + "Jobs - Damping")]
[HelpURL(Strings.DocsURLs.ExampleAPIDocumentation + nameof(Jobs) + "/" + nameof(Damping))]
public sealed class Damping : MonoBehaviour
Examples
Remarks
This example is based on Unity's
Animation Jobs Samples.
This script sets up the job in place of
Damping.cs.
The
Animancer.Examples.Jobs.DampingJob
script is almost identical to the original
DampingJob.cs.
The Animation Rigging package
has a damping system which is likely better than this example.
Attributes
Type | Description |
---|---|
AddComponentMenu | |
HelpURLAttribute |