与骨骼动画的互动

http://developer.egret.com/cn/example/egret2d/index.html#160-db-dynamic
想要的效果如上,那是白鹭的,我想知道在cocos上如何实现。
我尝试用下面这个去改动,但没效果。求帮助!!!
dragonBones.ArmatureDisplay.armature().getSlot(“head”).offset.rotation

一样的吧,播放不同的骨骼动画

不一样,难道我给的效果不明显吗?移动小鸟,那条龙会看着小鸟移动!

还没研究,不懂了。顶上去给大佬们看看

dragonBones.ArmatureDisplay.armature().getSlot(“head”).offset.rotation 这个getSlot 改成 getBone就好了,是旋转骨骼,不是旋转插槽

https://blog.csdn.net/weixin_32652107/article/details/112806689

这片文章

offset.rotation 这个是弧度,不是角度,唉,我败在单位上了