- Edited
Skeleton Graphic pops out when it's origin exits RectMask
I have a scroll view with my animated heroes listed out in it. I'm using the latest runtime (3.7). The RectMask2D works great until the center point of my hero animation exits the rect which is when the whole graphic pops out. I tried putting a bounding box around him in Spine but that didn't fix it. Any ideas?
Thanks in advance for any ideas you might have!
Wayne
This typically comes from the RectTransform bounds being outside the culling area of the parent mask.
To fix this you can select your SkeletonGraphic object, in the toolbar make sure to have the UI TransformTool active:
Then you can drag the size of the RectTransform around to match the actual character size. You might want to hold down the Alt
key while doing this to resize from the center.
Ok wow I can't believe I didn't figure that out on my own. Thanks for you prompt response. All is good now : )
Glad it all works now, thanks for letting us know.