- Home /
Question by
unity_ZYsHk4nnsD81HQ · Jan 04 at 08:48 AM ·
targetriggingrigtargets
TwoBoneIKConstraint Target wont update from script
hello im trying to change TwoBoneIKConstraint Target from script depending on what object player is holding
GameObject.Find("RightHandIK").GetComponent<TwoBoneIKConstraint>().data.target = Item.transform.;
this line of code changes the target in inspector but it wont take effect, hand wont move from 1 target to other it just stays on the previous one please help im stuck.
Comment