• Login
sketchucation logo sketchucation
  • Login
๐Ÿค‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

Animated Update Rotation wrong way

Scheduled Pinned Locked Moved SketchUp Discussions
sketchup
5 Posts 2 Posters 129 Views
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 25 Jan 2012, 06:24

    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
    • T Offline
      TIG Moderator
      last edited by 25 Jan 2012, 09:21

      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 25 Jan 2012, 10:15

        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
        • T Offline
          TIG Moderator
          last edited by 25 Jan 2012, 10:30

          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 25 Jan 2012, 11:04

            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
            1 / 1
            • First post
              1/5
              Last post
            Buy SketchPlus
            Buy SUbD
            Buy WrapR
            Buy eBook
            Buy Modelur
            Buy Vertex Tools
            Buy SketchCuisine
            Buy FormFonts

            Advertisement