阅读背景:

将线性脉冲应用于Sprite-Cocos2d / Box2D的旋转

来源:互联网 

I have an arrow and a ball. The anchorPoint for the arrow is on the bottom. All I need to do is have the sprite be able to rotate with touch, then a linear impulse is applied to the ball and shot in the direction the arrow is pointing to.I have an arrow and a ball. The anchorPoint for




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

分享到: