Update Examples
This commit is contained in:
@ -21,7 +21,7 @@ class MoveBoneIK extends iron.Trait {
|
||||
anim.notifyOnUpdate(function() {
|
||||
goal.set(tr.worldx(), tr.worldy(), tr.worldz());
|
||||
// Align skeleton to touch the goal
|
||||
anim.solveIK(bone, goal);
|
||||
anim.solveIK(anim.skeletonMats, bone, goal);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user