Orlow Posted September 3, 2018 Share Posted September 3, 2018 I m using Matter as physic engine How can i do that (better in the way how devs thought i would do it) Thanks! //didnt work (screenshot) let bounds = ground.getBounds(); this.matter.world.setBounds(bounds['x'], bounds['y'], bounds['width'], bounds['height']); //also didnt work this.matter.world.setBounds() Link to comment Share on other sites More sharing options...
Recommended Posts