DragonBones / DragonBonesCSharp

DragonBones C# Runtime
MIT License
537 stars 198 forks source link

Moving position of ik target #32

Closed davypaperboy closed 7 years ago

davypaperboy commented 7 years ago

I can't work out how to move the position of an ik target (e.g. to follow the mouse)

public UnityArmatureComponent character;

void Update () {
     Bone ik = character.armature.GetBone("Head").ik;
     // How to transform position of ik???
}
davypaperboy commented 7 years ago

I worked it out through bone.offset