Howdy, Stranger!

It looks like you're new here. Sign in or register to get started.

If you have any questions, reports, suggestions, or requests about Live2D, please send them to this forum.
※We cannot guarantee statements or answers from Live2D staff. Thank you for your understanding in advance.
 
Live2D Cubism
Cubism Products and Downloads
Cubism product manuals and tutorials
Cubism Editor Manual    Cubism Editor Tutorial    Cubism SDK Manual    Cubism SDK Tutorial
[About macOS Sequoia] (Updated October 22, 2024)
Live2D Cubism Editor 5.1.02 now supports macOS Sequoia.
Other Live2D Cubism products currently released are not guaranteed to work on macOS Sequoia.
Please refrain from upgrading macOS, as it may not operate properly.

How to dynamically update parts through code

If I have two sets of clothes in a model, I can control the switching between the two sets of clothes through the setPartsOpacity API.

But if I have a lot of clothes, I don’t want to put them in models, but update them dynamically

Answers

  • I'm not aware on the specifics on how our coder managed it but rather than use opacity control everything each clothing/object is tied to a keyframe value with no other keys. From there the engine looks for the keyframe value tied to the object and jumps to it. This isnt without its flaws but it works.
Sign In or Register to comment.