Deweh / Native-Animation-Framework

A multi-character animation framework for Fallout 4.
GNU General Public License v3.0
20 stars 5 forks source link

Feature Plan: Auto-detect skeleton & base pose #13

Closed Deweh closed 9 months ago

Deweh commented 9 months ago

Feature description:

For behavior graphs that have no configured graph info, the skeleton hierarchy as provided by skeleton.nif will be used instead. This would allow all behavior graphs to have built-in support, but IK chains will still require manual configuration.

Planned implementation:

Game races have an internal "skeletonModel" string field. This can be used to request the skeleton from the BSModelDB, then from there the node tree can be traversed. The skeleton nodes' default positions and rotations can be used as the base pose, and an animation timeline can be created for each relevant node found.