sketchucation logo sketchucation
    • Login
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    πŸ›£οΈ Road Profile Builder | Generate roads, curbs and pavements easily Download

    Animated Update Rotation wrong way

    Scheduled Pinned Locked Moved SketchUp Discussions
    sketchup
    5 Posts 2 Posters 157 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.
    • P Offline
      pmolsen
      last edited by

      I have an animation driven by AnimatedUpdate. If the model has a heading of 358 degrees and I do an animatedupdate to change the heading to 2 degrees, the model spins round anticlockwise by 356 degrees instead of rotating clockwise by 4 degrees. How do I change that behaviour please?

      1 Reply Last reply Reply Quote 0
      • TIGT Online
        TIG Moderator
        last edited by

        I don't know the tool, but the standard rotation rule is +ve angles rotate anticlockwise about the axis of rotation.
        Entering +2 tells it to swing from 358 round to 2 anticlockwise !
        If you enter a value like -4 OR +362 degrees what happens, does the rotation reverse to clockwise ?
        Is there no a way to specify the required swept-angle rather than the absolute-angle πŸ˜•

        TIG

        1 Reply Last reply Reply Quote 0
        • P Offline
          pmolsen
          last edited by

          See AnimatedUpdate, Change and Update at
          http://code.google.com/apis/kml/documentation/kmlreference.html

          (If you can figure it out from there good luck!)

          1 Reply Last reply Reply Quote 0
          • TIGT Online
            TIG Moderator
            last edited by

            Have you tried my suggestions for -ve angle values or > +360 etc πŸ˜•

            TIG

            1 Reply Last reply Reply Quote 0
            • P Offline
              pmolsen
              last edited by

              I did find that I could overcome it by just getting bigger and bigger with the angles. ie. specifying 352 degrees say, then 380 degrees, then 420 degrees etc. It seems to work.

              But I actually used a suggestion Aerilius made, which was to get to 359, then do a change to 0 with a duration of 0 so it spun anticlockwise infinitely fast, then carried on with 20 degrees, 80 degrees etc. That also works.

              But it is all a fudge. Surely there is some way of forcing the rotation to the desired direction.

              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