naelstrof / KoboldKare

A public repo for the game KoboldKare
Other
85 stars 104 forks source link

Blend shape states from Kobold Skinned mesh to equipment Skinned mesh #320

Closed TwistedFlog closed 7 months ago

TwistedFlog commented 7 months ago

Copies blend shape states from Kobold Body Skinned Mesh to Skinned Mesh equipment by placing the paths to the Skinned Mesh equipments Useful for clothing equipment mods image

naelstrof commented 7 months ago

In general my suggestion for this pull request to be accepted would need to follow these two requirements:

  1. There should be zero need for interaction from a user. They shouldn't need to spawn any scripts or enter extra info. If the blendshapes exist on the equipment with the correct names, it should "just work".
  2. The behavior responsible for copying the blendshapes should get spawned within OnEquip in EquipmentSkinnedMesh.cs
  3. The behavior itself probably should be hidden (private class within another class in order to prevent users from accidentally spawning it!)