blackhawx Posted October 9, 2018 Share Posted October 9, 2018 With the given example from Labs, what does enableSleeping mean when it comes to matter? var config = { type: Phaser.AUTO, width: 800, height: 600, backgroundColor: '#1d1d1d', parent: 'phaser-example', physics: { default: 'matter', matter: { enableSleeping: true } }, scene: { preload: preload, create: create } }; Link to comment Share on other sites More sharing options...
Befive.Info Posted October 20, 2018 Share Posted October 20, 2018 Did you try setting that to false? I see that the balls turns to red once it stops its movement. Reducing the value of "repeat" in the demo code to 3 or 4 makes it easier to see it. Also see: https://github.com/liabru/matter-js/issues/354 Link to comment Share on other sites More sharing options...
Recommended Posts