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!
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