-
Notifications
You must be signed in to change notification settings - Fork 1
Description
I am using 1.2.2.978. When ChunkExtracting a collision from a NIF which has bhkCollisionObjects in sub-nodes i.e. not the parent BSFadeNode, the resulting NIF has transforms that are all zeroed even if the parent NiNode(s) had transform offsets.
Example: meshes\architecture\solitude\scastlewall04.nif
Structure:
0 BSFadeNode (X 0.0000 Y 0.0000 Z 0.0000)
...
7 NiNode (X 380.0425 Y -69.5439 Z 91.8053)
12 bhkCollisionObject
The NIF produced by ChunkExtract does not offset the collision into the correct position. It should either keep the same depth, and however deep replicate the parent NiNodes with their transforms intact, or it should condense all these transforms into one transform for one parent NiNode.
This makes importing the collision into 3ds Max a pain since the collision does not show up where it should, since the visible mesh and the collision no longer have the same origin/transform. Secondarily, there is a compounding issue with ChunkMerge and bhkCollisionObjects where sub-nodes aren't recognized by Templates, and also the bhkCO is unable to be inserted back into the mesh at the proper depth. (Issue #58)