BadDogSkyrim / PyNifly

Export/Import tools between Blender and the Nif format, using Bodyslide/Outfit Studio's Nifly layer. Supports Skyrim LE, Skyrim SE, Fallout 4, Fallout New Vegas, Fallout 76, and Fallout 3.
GNU General Public License v3.0
167 stars 15 forks source link

"rotated nodes?" scrambling mesh #211

Closed MattCowdery closed 2 weeks ago

MattCowdery commented 4 months ago

Exporting a body mesh with PyNifly that I made and weighted in blender (with an imported skeleton) results in a scrambled mesh in game. Trying to trouble shoot this myself, I found that toggling "node visibility" in outfit studio showed a rig-adjacent-shape on the ground (which does match up to some of the animation scrambling I'd been having) The problem is, I dont really know what these "nodes" are here, or how I can stop this from happening. image correct mesh

(The result of this is a mesh that looks like this in game ) problem 1 here is the nif itself, in case that helps problem mesh.zip

Any help is appreciated, thanks

EDIT: appears solved by deselecting "preserve bone heirarchy" on export, and then selecting "fix bad bones" in Outfit Studio. Leaving post up in case it helps another confused modder. (Thanks for all you do for the modding community)

BadDogSkyrim commented 4 months ago

I'll have a look. It should work out of the box. Not sure why you would want to preserve bone hierarchy for a bodypart?

It's possible that you have, like, the ZeX skeleton and then it's trying to export using the vanilla skeleton. But you'd have to be doing extra work to make that break. It will take me a few days, but I'll look.

BadDogSkyrim commented 3 months ago

I had a look. The only thing I can guess is that your skeleton is hinky--maybe you loaded it using the niftools importer, or with an older version of pynifly.

Best thing to do if you're continuing to work on the mesh is to disconnect the mesh from the armature, delete the armature, import the skeleton with the latest pynifly, either by importing a body mesh or the whole skeleton nif, and reconnecting the body to the new armature.