SpineIKHelper
A class in Root.Township, Alta.Character.
Editor helper that fills in three spine bones from a root bone and builds a FABRIK chain with rotation limits aimed at a spine target.
- Listed in Players and characters
- Inherits or implements
ScriptHelper
Constructors
| Member | What it is |
|---|---|
SpineIKHelper() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
6 private and internal fields
| Member | What it is |
|---|---|
private bool isAutoFillingSpineBones | Inspector button that runs FillReferencesFromRoot. |
private bool isSettingUpIK | Inspector button that runs SetupIKBones. |
private Transform spineBoneRoot | Backing field for SpineBoneRoot. |
private List<BoneWithRotationLimit> spineBones | The spine bones with their rotation limit settings. |
private FABRIK spineIK | The FABRIK component made by SetupIKBones. |
private Transform spineTarget | Transform the spine IK reaches for. |
Properties
| Member | What it is |
|---|---|
Transform SpineBoneRoot { set; } | Sets the root bone used to fill in the spine bones. |