Disable control panel popup
-
Every time I hit the play button, the SP control panel pops up. Is there anyway to temporarily disable this feature? Sometimes I don't need this panel.
-
There are a couple of ways to do it.
One way is by changing source. Open SketchyPhysics3/sp_tool.rb, scroll down to line 1423, and comment out
MSketchyPhysics3.showControlPanel.Another way is to add script in to any un-ignored object. Paste this code into body scripted field:
onUpdate { if frame == 1 MSketchyPhysics3.closeControlPanel end }This code simply closes dialog when simulation starts.
-
Or just 1 line

MSketchyPhysics3.closeControlPanel if frame == 1 -
Although it still has to be in onUpdate or onTick event.
So your one liner would look like this:
onUpdate { MSketchyPhysics3.closeControlPanel if frame == 1 } -
@anton_s said:
Although it still has to be in onUpdate or onTick event.
So your one liner would look like this:
onUpdate { MSketchyPhysics3.closeControlPanel if frame == 1 }

Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better π
Register LoginAdvertisement