HyperBlaze Found out that using ScaleX, Y doesn't quite work even after changing the bone mode to "Override"
You either use SkeletUtilityBone
and change Transform scale, or directly set bone.ScaleX
, not both. Don't create a SkeletonUtilityBone
hierarchy if you're setting bone.ScaleX
. Sorry if my above description was confusing.
Just note that setting the local bone.ScaleX
might not have any effect when a playing animation also keys Scale X, overriding your previously set Scale X value when applying the animation. You can use the SkeletonAnimation.UpdateLocal
callback delegate to call your method which sets Scale X at the right time after the animation has been applied. This is also explained here in the documentation.