Vhi.MovementConfigGenerator
VHI_godot¶
Vhi¶
MovementConfigGenerator Class¶
Utility class to generate default movements.toml from hardcoded poses
Inheritance System.Object → MovementConfigGenerator
Methods¶
MovementConfigGenerator.GenerateDefaultConfig(string) Method¶
Generate default movements.toml file from hardcoded poses
MovementConfigGenerator.MigrateToRigNative(string) Method¶
Rewrite a Unity-signed config in rig-native degrees, once. A file that already declares its convention is left untouched.
Remarks¶
The alternative — converting on every load — leaves a file on disk whose numbers say the opposite of what they mean, forever, and the person who hand-edits it next gets a hand that bends the wrong way. Migrating negates every rotation and stamps the convention, so the shim runs once and the file is then self-describing.
A backup is written beside it first: this rewrites hand-tuned poses, and the migration is only correct if the file really was Unity-signed.