TwoBoneIK Class

Summary

An example of how to use Animation Jobs in Animancer to apply simple two bone Inverse Kinematics, even to Generic Rigs which are not supported by Unity's inbuilt IK system.
Assembly
Animancer.dll
Namespace
Animancer.Examples.Jobs
Base Types
  • MonoBehaviour
graph BT Type-->Base0["MonoBehaviour"] Type["TwoBoneIK"] class Type type-node

Syntax

[AddComponentMenu(Strings.ExamplesMenuPrefix + "Jobs - Two Bone IK")]
[HelpURL(Strings.DocsURLs.ExampleAPIDocumentation + nameof(Jobs) + "/" + nameof(TwoBoneIK))]
public sealed class TwoBoneIK : MonoBehaviour

Examples

Two Bone IK

Remarks

This example is based on Unity's Animation Jobs Samples.

This script sets up the job in place of TwoBoneIK.cs.

The Animancer.Examples.Jobs.TwoBoneIKJob script is almost identical to the original TwoBoneIKJob.cs.

The Animation Rigging package has an IK system which is much better than this example.

Attributes

Type Description
AddComponentMenu
HelpURLAttribute