raaan127

Hello, I am using setSkin() to change skin in [Character-select scene].

The skins have different equipments and cloths (some may have, some may not)

If I set the character to a skin which have cape, run the game, then change skins to one with no cape, the skin will change to the no-caped one but the cape is still there (Similar happens to other SkinPlaceholder which already have attachment)

If I set the character to a skin which have no cape, then I change to a caped one at runtime, the cape will not show at all.

The attachment is remain the last attachment used for that slot (if already empty, somehow it will remain empty) and I don't know how to fix it.
Avatar
raaan127
  • Postovi: 24

Misaki

Does your code miss Skeleton setSlotsToSetupPose ? Could you please post your code for changing skin?
Avatar
Misaki

Misaki
  • Postovi: 1152

raaan127

Misaki je napisao/la:Does your code miss Skeleton setSlotsToSetupPose ? Could you please post your code for changing skin?
Yes this solved. Thank you
Avatar
raaan127
  • Postovi: 24

Misaki

I'm glad to hear it solved the problem. Thank you for getting back to us!
Avatar
Misaki

Misaki
  • Postovi: 1152


Natrag na Runtimes