Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
🫛 Lightbeans Update | Metallic and Roughness auto-applied in SketchUp 2025+ Download
Mid-simulation controls
-
I was making a simple ball game and made controls for the power and aim of the pitch. I accidentally made a slider in mid-simulation.
After I pitched the slider showed up and I could control it. I just used this code:if key("p")==1; 49+slider("strength")*5;else 0;end(in the emitter's strength)
how do I make it show up right away?Here's the file
p=pitch h=hit
-
if I understand you right you want the slider("strength") to show up direct when the simulation starts:
put this code in "onthick" in some object(wherever you want:D)
if frame==0 slider('pitching strength') endhope this was the stuff you search for.
-
Oh yeah duh I was kinda dumb didn't enter my brain
thanks -
Thats OK...

Advertisement