IKChain

public class IKChain

Runtime instance of an IK chain attached to a skeleton. Handles solving IK and applying rotations to bones.

Constructors

Link copied to clipboard
public void IKChain(IKChainBlueprint blueprint, Skeleton skeleton)
Creates an IK chain instance from a blueprint.

Properties

Link copied to clipboard
Link copied to clipboard
public final List<Bone> chainBones
Link copied to clipboard
public final Skeleton skeleton

Functions

Link copied to clipboard
public void clearIKRotations()
Clears IK rotations from all bones in the chain.
Link copied to clipboard
Link copied to clipboard
public int getBoneCount()
Gets the number of bones in this chain.
Link copied to clipboard
public List<Bone> getChainBones()
Link copied to clipboard
public String getControllerName()
Gets the controller name (null object name) for this chain.
Link copied to clipboard
Link copied to clipboard
public void setGoalOffset(Vector3f offset)
Sets the IK goal offset from animation.
public void setGoalOffset(float x, float y, float z)
Sets the IK goal offset from animation values.
Link copied to clipboard
public void solve()
Solves the IK chain and applies rotations to bones.