阅读背景:

Sprite Kit改变了anchorpoint,但保持物理中心

来源:互联网 

I have a lot of different sprite nodes with a physicsbody the same size as the object. For positioning I need to change the anchorpoint of the node, but this changes the position of the physicsbody as well. Is there a way to keep the anchorpoint for the physicsbody centered? Using a path for the physicsbody is no option because I have so many different objects.I have a lot of different sprite nodes with a p




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: