Show or hide the sub-tree driven by a bone, the Babylon.js way: hiding scales
the bone to zero (collapsing it and its descendant bones to a point so the
skinned triangles degenerate and disappear).
Unlike setBoneScaling, visibility is not a transform override that
animation can overwrite — it is re-applied AFTER channel evaluation, so a hidden
bone stays hidden while clips play. This matters in practice because most rigs
(every Mixamo export, for instance) bake a constant scale track onto every bone,
which would otherwise restore the bone to full size on the next frame.
Showing clears only the hidden state; any explicit setBoneScaling override
is left untouched.
Show or hide the sub-tree driven by a bone, the Babylon.js way: hiding scales the bone to zero (collapsing it and its descendant bones to a point so the skinned triangles degenerate and disappear).
Unlike setBoneScaling, visibility is not a transform override that animation can overwrite — it is re-applied AFTER channel evaluation, so a hidden bone stays hidden while clips play. This matters in practice because most rigs (every Mixamo export, for instance) bake a constant scale track onto every bone, which would otherwise restore the bone to full size on the next frame.
Showing clears only the hidden state; any explicit setBoneScaling override is left untouched.