Hi wonderful community,
In order to solve the problem of "floating shadows", which occurs when characters are draws with specific perspectives (see image), I tried out the following approaches:
1) Draw the feet of the character on the same line, so that the bottom of each feet corresponds to the "end" of the spine Object (but in this way, no illusion of depth);
2) Duplicate the Spine anim and make it only cast shadows, move it behind on the Z axis, then make it a child of the main Spine object which will now have shadows disabled (but in this way, apart from the performance concerns of having everything duplicated, the shadows won't match anyway for both feet);
3) Use the SkeletonUtility to Spawn the Hierarchy in Override mode, then move just the left leg on the Z axis, so that the shadow would be cast correctly. This last point is what I am trying to do, but no way: I cannot move the bone on the Z axis from within Unity. Also, when I spawn the hierarchy and change the transform values of any bone, the animations do not play anymore.
Am I trying to do something too weird? Do you have any suggestions on how to achieve that?
Thanks!
25 Jun 2017, 11:12
No-one has any input on this?
Thanks in advance !