dred Posted March 16, 2016 Share Posted March 16, 2016 I found that ctrl + space stops the physics in the editor, I was wondering if there was a way that we could start the editor with physics stoped and use ctrl + space to start it again. It would be nice for world editing purposes for the dynamic objects to not move themselves when our artists are editing worlds. I was sort of able to do this by engine.physics.setEnabled(0), but then ctrl + space no longer works. Is there a way we can hook into whatever its doing and make it happen on start up? Thanks Dusty Link to comment
futurist Posted March 17, 2016 Share Posted March 17, 2016 Hi, Please use engine.game.setEnabled(0|1) rather than engine.physics.setEnabled(0|1). It should work with "Ctrl + space". Link to comment
Recommended Posts