wulilio

editor :3.8.99
runtime: c runtime 3.8

i have two mesh attachment in same slot ,in animation i will switch them repeatly, i deform first mesh in timeline , the deform keys only applys to first mesh in editor ,but in runtime the deform key effect the second mesh ,i check the runtime ,find struct spSlot hold the deform ,it's not easy to fix ,any helps?


editor frame 1:
editor_1.png

editor frame 2:
editor_2.png


runtime frame 1:
runtime_1.png

runtime frame 2:
runtime_2.png


spine file and exports:
test_deform.zip
Bu mesaja eklenen dosyaları görüntülemek için gerekli yetkilere sahip değilsiniz.
wulilio
  • Mesajlar: 7

Mario

Please update to the latest 4.1 Spine Runtimes. We no longer update the 3.8 runtime.
Kullanıcı avatarı
Mario

Mario
  • Mesajlar: 3283

wulilio

after compare 3.8 runtime with 4.1 , i replace all "slot->attachment = xxx" with "spSlot_setAttachment(slot ,xxx)" in AnimationState.c , the problem gone
wulilio
  • Mesajlar: 7


Dön Runtimes