I a bit of a newbie when it comes to Blueprints in UE. And I am trying to figure out how to easily change the avatar while in play mode. I am not referring to the actual interface, but to what blueprint and which part of it I should change in order to switch between 4 avatars that I already prepared (I did the IKRig, Retargeter, Animation Blueprint for each avatar)
Thank you so much!!!
PS: As an extra note, I am planning to use OSC messages coming from another app (Max MSP) to switch as I did this another project.
This is my solution for switching avatars for 1 player. Still struggling to change for 2 or more players. See the other post
I don’t know how to use arrays so the code is not clean in this respect.
Inside of BP_ZED_Manny, I get a value (from 0 to 10 in this case) from another program (Max MSP) via OSC, and depending on the value, using Set Anim Instance Class nodes, I switch the ABP related to a specific avatar and then I use an Async Load Asset node to load the skeletal mesh for that specific avatar, and then Cast to Skeletal Mesh and Set Skeletal Mesh Asset. And it works.
I do have some minor errors.
I sometimes get a T-pose with the avatar before switching to the new avatar. But just for a millisecond.
When I first try to select an avatar, the old avatar disappears. And I then reclick in order to get the new avatar. After the first loads, it works ok.