• Login
sketchucation logo sketchucation
  • Login
⌛ Sale Ending | 30% Off Profile Builder 4 ends 30th September

Animated sequences motion using Sketchy physics ruby script

Scheduled Pinned Locked Moved SketchyPhysics
3 Posts 3 Posters 2.2k Views 3 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.
  • Y Offline
    youthreewire
    last edited by 30 May 2009, 17:31

    Hi,I want to know how to create motion with sketch physics producing an animated sequence.I have been reading tutorials from wikia but the one here about using ruby scripts for motion sequencing does not tell where to type the ruby script.
    http://sketchyphysics.wikia.com/wiki/Intermediate

    In the beginner tutorial it is mentioned to type the small commands like oscillator(10) in the controller box as mentioned in the link here in beginners tutorials.http://sketchyphysics.wikia.com/wiki/Beginner
    There is a blue box further down, labelled 'controller'. This is very, very important, as this is where (for now) all of your script and formulas will go.

    But I want to use if and else loops and create motion sequences,set the servo values to particular angle etc..Could some experienced person tell me how to do this?

    1 Reply Last reply Reply Quote 0
    • P Offline
      phy
      last edited by 30 May 2009, 19:36

      most of the intermediate script goes in the ontick field.

      Tableau de comparaison de Staxyn s'agit d'un mГ©dicament uniquement sur ordonnance.

      1 Reply Last reply Reply Quote 0
      • W Offline
        Wacov
        last edited by 30 May 2009, 20:06

        (I'm the writer of Beginner, and most of intermediate)

        Hey there! Phy's right, intermediate script and onwards goes into the multi-line onTick and onTouch fields. onTick is effectively a standard script field, with the script executed every frame, or every few frames, depending on the rate you set. onTouch is executed every frame, or rate frame, while the selected object is hitting another.

        The important thing to note is that these fields are only visible with SP3 X, which you can find on the link under the 'What's new' section, on the main page of the wiki. Just install and go!

        If by 'motion sequencing' you mean Chris' Knight Game animation system, that's very advanced. You may want to play around with more simple scripts before attempting something like that 😄

        http://sketchup.google.com/3dwarehouse/cldetails?mid=3096a836877fb9af6cd8ad826e9017b8&prevstart=0

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

        Advertisement