temporalix Posted March 24, 2014 Share Posted March 24, 2014 Hello I have a sprite in a group, before enabling arcade physics the sprite is positioned correctly, but after enabling arcade physics on the sprite, it shifts downwards and the pivot is different? before: sprite1 = game.add.sprite(0, 0, 'balls', 0, spinGroup); sprite1 .pivot.x = -100; to move it to around same position I had to change the code. after: sprite1 = game.add.sprite(5, -115, 'balls', 0, spinGroup); sprite1 .pivot.x = -9; Is this a bug, or am I doing something wrong? Link to comment Share on other sites More sharing options...
momothemonster Posted March 25, 2014 Share Posted March 25, 2014 I had this issue earlier and there was a fix for it. Try the latest from the 'dev' branch on GitHub. Link to comment Share on other sites More sharing options...
temporalix Posted March 26, 2014 Author Share Posted March 26, 2014 Tried the latest 'Dev' branch and its still the same . the sprites positioning and pivot are still affected as soon as I enable physics on it. Link to comment Share on other sites More sharing options...
Wavertron Posted March 26, 2014 Share Posted March 26, 2014 Ive noticed that and just assumed its due to the anchor x,y values? Link to comment Share on other sites More sharing options...
temporalix Posted March 28, 2014 Author Share Posted March 28, 2014 everything works fine now using latest 2.0.2 Build. Thanks for fixing this rich. Link to comment Share on other sites More sharing options...
Recommended Posts