Something funky is going on. Investigating. On Sat, Sep 19, 2015 at 12:32 PM, Netanel M. <[email protected]> wrote:
> I fixed it the issue where the sprite was flying off by using this code > instead: > layer.sprite.position = new.center > instead of layer.sprite.position = new.position; > > But now, the sprite get's stuck whenever it hits the floor! > I attached the fixed source. What could possibly cause this? > > -- > You received this message because you are subscribed to the Google Groups > "cocos2d discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/cocos-discuss. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "cocos2d discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/cocos-discuss. For more options, visit https://groups.google.com/d/optout.
