• Unity
  • SetSkin and stuck

Related Discussions
...

Sorry to say, but I have no programming experience whatsoever! I've been using Playmaker within Unity to create my game the last year. I've been able to do everything I've needed... except this one thing that has me scratching my head!

All I want is to change the skin of my character in game. I have one skin 'emma' that's the default, and I want to switch it to 'emma-holoclothing' when I decide.

Using Playmaker I've been able to set the initial skin, but I can't figure out how to call 'skeleton.setSlotsToSetupPose();' in order to update the visuals. I'm using Skeleton Mecanim if that makes any difference.

honestly, if I just had two simple scripts, one to appy the emma skin and one to apply the emm-holoclothing script when they turned on, I would be so happy. I'm sure it's frustrating to come across people like me that have no programming experience, but I certainly appreciate any help I can get!

All the best,
Joel

No need to apologize. Since there are multiple (unofficial) Playmaker integrations out there, have you considered trying another one out:

Forum thread: PLAYMAKER
Forum thread: PLAYMAKER Integration
You could also ask the autor of the respective Playmaker integration for help.

The Playmaker integration should perform the necessary call to setSlotsToSetupPose where necessary or at least expose it to the user.

Apart from that, it's never too late to learn new skills: you could have a look at the code and then adapt it via a text editor and add the required call to setSlotsToSetupPose yourself. Minor modifications could work without much programming knowledge. Be sure to create a backup-copy of the project before editing any files.

Wonderful! Thank you. I have no idea how those actions slipped past me. I certainly appreciate it!

Great to hear that it works now, thanks for getting back to us!