• Unity
  • BoneFollower: Follow bone scale implementation

  • संपादित
Related Discussions
...

With every update I've been adding bone scaling myself (in the BoneFollower class) :B Just wondering when it's going to be implemented, so I don't have to add it manually every time, it's a fairly simple feature.
I use it to scale my hitboxes for different attacks, not sure if there's a better way without making a million different hitboxes. Anyway, it could be a useful feature.

Thanks for your great work c:

Follow Scale is a sticky functionality. BoneFollower follows world rotation and world position.
But following world scale will rarely yield expected results. (You can't manually set the SRT matrix of a UnityEngine.Transform.)

We could likely just put Follow Local Scale and it'll do what it's supposed to.
That'll be in pretty soon.

Exactly what I was about to ask.
I expected that scaling the Transform would have scaled everything, hitboxes included. Yet, the skeleton didn't scale according to its localScale.
I managed it by nesting it inside another GameObject, but I wasn't sure it's the "best way" to do it, so I was about to ask.