Hello,
I'm trying to move a SkeletonGraphic (UI) during runtime to the position of one of it's bones. The problem is that this SkeletonGraphic needs the property of LayoutScaleMode = Width Controls Height
and as far as I know all the GetBonePosition
type functions (also the bone.WorldX and bone.WorldY) are returning the position for the rect not scaled. So my position is off.
I've also tried using the BoneFollower
and BoneFollowerGraphic
but the same result happens, the bone follower goes to the unscaled position.
So my question is, how should I do this? How can I get the real position of a bone in a SkeletonGraphic (UI Canvas) that is scaled by the UI?