• International中文
  • cocos2dx中如何实现,SpineA角色加到SpineB角色的某个骨头上

在cocos2dx中如何实现,SpineA角色加到SpineB角色的某个骨头上,使SpineB角色跟SpineA骨头运动

  • xiaoxiao ответили на это сообщение.
    Related Discussions
    ...

    DemonYao 理解就是角色A加到角色B上很好实现啊,可以参考一下角色换装的思路,就是这样实现的

    • DemonYao ответили на это сообщение.

      xiaoxiao 可以写个demo吗? 我试过都没法加上去。 换装得是Attachment。完整的骨架没法当做Attachment。 老师有什么思路吗

      I'm afraid the auto-translation isn't great. Can you please describe in detail what you want to achieve? Possibly with illustrations?

      For example, adding character A to character B's hand, character A can move with character B, and character A has its own animation

      I'm afraid that is not possible, due to how the cocos2dX rendering pipeline works. We can not interleave rendering of multiple skeletons like you describe with cocos2dX.