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') end
hope this was the stuff you search for.
-
Oh yeah duh I was kinda dumb didn't enter my brain thanks
-
Thats OK...
Advertisement