Hide bones

this function only works with the player's model and not with items/cosmetics/effects

So, we have our animation that does this:

In the game it looks like this:

Did you notice that you can see the parts of the leg? This generates Z-fighting

Then to solve it we must hide the parts of the legs and the subparts, for that you should have already seen the Bones section.

Then, what should be done is to add a new keyframe in scale and scale it down by 0.9 this will hide only the right_leg bone, the same must be done with right_foreleg, left_leg and left_foreleg.

and lastly remember to add a scale keyframe that is 1 before the keyframe you modified to 0.9, i.e. it should look like this:

This is done so that when the exact keyframe is reached it will be hidden, otherwise it will be hidden from the beginning and we don't want that.

There, it's done. Now we have successfully hidden the 4 parts of the leg and there are no more Z-fighting problems.

Last updated