Summary
Demonstrates how to use Unity's Inverse Kinematics (IK) system to
adjust a character's feet according to the terrain they are moving over.
- Assembly
- Animancer
.dll - Namespace
- Animancer
.Samples .InverseKinematics - Base Types
-
- MonoBehaviour
graph BT
Type-->Base0["MonoBehaviour"]
Type["RaycastFootIK"]
class Type type-node
Syntax
[AddComponentMenu(Strings.SamplesMenuPrefix + "Inverse Kinematics - Raycast Foot IK")]
[AnimancerHelpUrl(typeof(RaycastFootIK))]
public class RaycastFootIK : MonoBehaviour
Remarks
Sample:
Uneven Ground
Attributes
| Type | Description |
|---|---|
| AddComponentMenu | |
| Animancer |
[Assert-Conditional]
A UnityEngine.HelpURLAttribute which points to Animancer's documentation.
|
Properties
| Name | Value | Summary |
|---|---|---|
| ApplyAnimatorIK | bool |
Public property for a UI Toggle to enable or disable the IK.
|
Methods
| Name | Value | Summary |
|---|---|---|
| Awake |
void | |
| OnAnimatorIK |
void |