Jittering on 3D Logo rotation + sin scale

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • Hello, I need some help with a problem in my code. I have an object that constantly rotates and scales, and to keep both rotation and scale values synchronized, I use a value timer. When the timer reaches the value >= 0.93, I reset out both rotation and scale. The problem is that I can't find an exact number/value to avoid jitter when resetting both scale and rotation, as neither 0.93 nor 0.92 works correctly. I would really appreciate any help you can give out if is possible, I'll be leaving the following mfa below.

    Please login to see this attachment.

    Please login to see this attachment.

  • I can't open your file as I don't have all the extensions installed that the MFA requires (and the Discord one isn't in the extension manager). But I'm pretty confident to say that the value timer that you're resetting at >=0.93 is an unnecessary step, so just scrap it.

    The following code more or less produces the movement in your gif (and fine-tuning the numbers could reproduce it precisely):

    Please login to see this picture.


    As long as the yellow highlighted numbers are the same in both actions, the scale and angle will retain the same timing forever (ie. they'll remain synchronised).

    The rightmost numbers (*0.1 and *10.0) determine the amplitude of the value changes (ie. we make the angle change by a lot because 1° would be barely noticeable, but we make the scale change only a little because +1 scale would be too much), but these don't affect the timing.

    The +500 in the 2nd action is an offset, so that while the two movements will share the same timing, they'll start and end at different times. Kind of like two feet pedalling (same timing but offset) versus two arms rowing (same timing without any offset). The movement in your gif has this kind of offset, and my guess is that you achieved it in a slightly different way, leading you to require the extra step of the >=0.93 value timer.

    Please login to see this link.
    My Fusion Tools: Please login to see this link. | Please login to see this link. | Please login to see this link.

  • Hello, thank you so much for the response, it seems it was my mistake of leaving the mfa with so many junk, I cleaned it overall leaving only the logo active, it should work now.

    Regarding your method, is working perfectly, except that I can't seem to achieve an accurate result to my original animation, I've tried adjusting the numbers carefully, but then it stops mantaining synchronized or synchronizes in weird ways that are not what is expected, maybe is that im not good in this topic of clickteam /: but thank you so much for the help though, I will still give a shot and continue figuring out how to remake the og animation, if you want also, you can dig down deep in the Logo mfa and tell out if anything is possible to fix.

    3D Logo V2 mfa is below, no extensions required.

    Please login to see this attachment.

  • Okay i'm sorry, I was asleep when I woke up so I wrote the code differently from what you shown in the image because my brain wasn't working properly (i remember writing Sin(timer + 500) * 0.2 * 10.0 instead of Sin((timer + 500) * 0.2 ) * 10.0 so it gave a different result, I really apologize. It's working now so thanks for helping . (though I think I kinda wasted your time)

  • Did you try the V3 MFA? The whole thing can be done all in a single event, simpler than how you've been doing it. The part that's been giving you hiccups (where you reset certain values when a certain value hits 0.93) is actually unnecessary, and has just been getting in your way.

    Please login to see this link.
    My Fusion Tools: Please login to see this link. | Please login to see this link. | Please login to see this link.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!