Schludi Posted June 18, 2015 Share Posted June 18, 2015 Hi! Is there a method that moves a rotating box2d rectangle body i.e. from it's local (7,10) to world (100,100) coordinates that suggests the box2d physics? var arm = new Phaser.Physics.Box2D.Body(this.game, null, 10, 220, 2); arm.setRectangle(15, 60, 0, 0, 0); With bests Bjoern Link to comment Share on other sites More sharing options...
Schludi Posted June 22, 2015 Author Share Posted June 22, 2015 Is there nothing like a mouse joint? I saw there are some functions in the box2d physics Api but i cannot get it to work. A box2d body should follow the mouse like it is dragged by mouse. Link to comment Share on other sites More sharing options...
Recommended Posts