lucasg07 Posted November 27, 2018 Share Posted November 27, 2018 Hi, I'm using the arcade physics engine. I'm trying to move a cloud left and right via tweens but the problem is the arcade box isn't moving with it. Does anyone know how to fix this? createTweens() { this.scene.tweens.add({ targets: this, x: this.distanceX, duration: this.speed, yoyo: true, loop: - 1 }); } Link to comment Share on other sites More sharing options...
Andrew Chen Posted November 28, 2018 Share Posted November 28, 2018 why it will happened? i think u may better read the article first : http://labs.phaser.io/index.html?dir=physics/arcade/&q= Link to comment Share on other sites More sharing options...
samme Posted November 28, 2018 Share Posted November 28, 2018 Those are static bodies. Link to comment Share on other sites More sharing options...
Recommended Posts