kyodesu Posted June 1, 2014 Share Posted June 1, 2014 Hello, The loadPolygon method doesnt change when the shape of animation changes. var ship = game.add.sprite(200, 200, 'player'); ship.animations.add('fly', [0,1,2,3], 10, true); ship.play('fly'); game.physics.p2.enable(ship, true); ship.body.clearShapes(); ship.body.loadPolygon('physicsData', 'suu'); ship.body.fixedRotation = true; The loadPolygon is the same. How can i change the shape and the loadPolygon the same time? Link to comment Share on other sites More sharing options...
Taufpate Posted July 7, 2014 Share Posted July 7, 2014 Hi, anyone have a solution? :-) Link to comment Share on other sites More sharing options...
Recommended Posts