Interpolation Revelation

tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
edited November -1 in Working with GS (Mac)
With a recent project Help Job I learned a lot more than I knew before about interpolate. Obviously interpolate is the greatest thing since sliced bread. but there have been questions that never seem to get answered or due to my new knowledge where answered incorrectly by myself and others.

So the core to what I have learned revolves around canceling and interpolate. The General wisdom here is that once it starts it Cannot be stopped. Then some of us came up with this idea that it would be stopped but only with another interpolate.

Well i'm here to day to tell you the first is mostly right and those of us who told the second part was possible are actually wrong.

What I learned is once an interpolate runs in cannot be stopped. You make it appear it has stopped with another interpolate and the reason it appears to stop is this. When the second interpolate runs it takes over the attribute you are interpolating, But… The first interpolate keeps running.

So if you second interpolate finishes before the first. The first interpolate take the attribute back over and finishes up.

Now when I learned this I set out to find a way to make this work and I come here today to give you a free demo showing my new method for the closest thing to truly canceling an interpolate.

The key to this method is using two duplicates attributes against each other with interpolates and constraints.

Take a look at this demo it's downloadable so pick it apart.
http://gamesalad.com/ontheappstore/19980
Theres not much to it but its very useful

I have also update the scene preview demo I made from this thread, http://gamesalad.com/forums/topic.php?id=21018, with this method and it fixed the bug discussed in that thread.

Enjoy,

Thanks
Aaron

___________________________________________________________________________________
Project Help from Tenrdrmer Click Here

GS BubbleBall Template HERE!!
Stacks Level Selection Template HERE!!
Expanding Option Menu Template HERE!!
Tenrdrmer's Menu # 3 HERE!!
Menu #4 - Level Banners HERE!!
AppSolute Entertainment on Facebook
AppSolute Entertainment on iTunes

Comments

  • MagoNicolasMagoNicolas Member, PRO Posts: 2,090
    Very interesting, I also SORT of found this, but never really use it and really test it.

    Thanks!

    Cheers.
  • ChaserChaser Member Posts: 1,453
    I noticed when I tried making a duplicate of an instance actor that has interpolate features the duplicate instance does not interpolate regardless of it getting set up exactly the same
  • heathccheathcc Member Posts: 113
    Thanks, good information and I appreciate the example.
Sign In or Register to comment.