sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    Non-slider controllers?

    Scheduled Pinned Locked Moved SketchyPhysics
    3 Posts 2 Posters 1.9k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D Offline
      DanYHKim
      last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • M Offline
        mptak
        last edited by

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

        http://sketchyphysics.wikia.com/wiki/Ready-to-use_scripts

        1 Reply Last reply Reply Quote 0
        • D Offline
          DanYHKim
          last edited by

          Thank you so much! That's exactly what I needed!

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          Buy SketchPlus
          Buy SUbD
          Buy WrapR
          Buy eBook
          Buy Modelur
          Buy Vertex Tools
          Buy SketchCuisine
          Buy FormFonts

          Advertisement