Non-slider controllers?
-
A few years ago, I recall reading about a type of joint controller that gives a reciprocating motion to a piston. It was enabled by replacing the "slider('slidername')" with "reciprocator(some_rate_nuimber)", or something like that.
Does anyone know what this was called? I cannot remember at all.
Also, are there any other kinds of joint controllers that can be used? For instance, I have a set of motors that I intend to run at a constant speed. I don't want to control their speed during the simulation. Can I give them a joint controller that won't show up in the control panel?
Some of the more complex and subtle aspects of Sketchyphysics are not well documented. I'd love to see ore information on such scripting commands as 'on touch' or 'do this when all of these doors are open' or something like that.
-
I think you mean
oscillator(n)
though there are other more controllable ways to do it.
Like
Math.sin(frame) which gives you a lot more control in terms of phase shift, etc.
Hope this helps. or poke around here....
-
Thank you so much! That's exactly what I needed!
Advertisement