I filled an issue in the bugtracker, https://github.com/los-cocos/cocos/issues/248
Theres a bug in RectMapCollider A partial workaround was committed to master. It probably lets you progress in your game, but still show some defects: still seen two stuck cases player pushes a wall on the left at the same time it wants to go down player pushes a wall on the top side and wants to go left It only stuck at grid crossings The stuck in non definitive: releasing the pressure against the wall resumes normal If not actively pushing against the wall the movement is normal Ask if you need help to use cocos from master. To @all I checked in Netanel bugdemo code with some modifications at https://github.com/los-cocos/etc_code If someone want to investigate and provide a real fix I will happily merge. 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.
