Quantcast
Channel: Cocos中文社区 - 最新帖子
Viewing all articles
Browse latest Browse all 495283

骨骼动画换装,位置对不上

$
0
0

用getDisplayRenderNode()直接获得Bone的显示节点,强转为cocostudio::Skin*,然后initWithSpriteFrameName

这种方式我用了,有的地方是对的,位置没有偏差(或者偏差太小看不出来),有的时候又不行,还是偏差很大


Viewing all articles
Browse latest Browse all 495283

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>