Disabling Physics temporarily?
So I have a physics based puzzle game that I'm working on, and after getting the physics working somewhat, and getting the Drag and Drop to work I ran into a little problem.
I want the player to be able to move certain items around and drag and drop and assemble the puzzle as they see fit before the game starts. However, The physics are still in play while the player is able to drag and drop which I don't want.
So sometimes currently, when I try and move a rail, and bump something else it will start spinning around and things like that.
Is there any way to allow the player to drag and drop things, without them being affected by Physics until the player starts the puzzle?
I want the player to be able to move certain items around and drag and drop and assemble the puzzle as they see fit before the game starts. However, The physics are still in play while the player is able to drag and drop which I don't want.
So sometimes currently, when I try and move a rail, and bump something else it will start spinning around and things like that.
Is there any way to allow the player to drag and drop things, without them being affected by Physics until the player starts the puzzle?
Comments
Then when actor touched set self.rotate to self.rotation
And constrain self.rotation to self.rotate