License from €75
DE EN FR ES IT CZ

setRotateAnimation does not work on Shadertoolkitv11

This thread is a few years old. Some details may refer to an earlier version of Visionaire Studio. Current tutorials

  1. · 8 years ago
    Hi there!

    as some know there is a "setRotateAnimation" funktion based on the shadertoolkit. Unfortunately the changes in v 11 breaks it. Is anybody able to fix this?

    here is a pastebin with the "current one"


    Thanks!
  2. Working on a game?

    The free version covers up to 25 scenes per project. For more scenes and to sell your game, you need a license. Forum readers get the Indie Bundle 15 % off with the code FORUM15: €84.15 instead of €99, valid until 31 Dec 2026.

    Get 15 % off Try it for free
  3. · 8 years ago
    No idea about that, but you don't need to use the shader toolkit to rotate objects/animations - just use the to() tweening function instead - as long as the animation is linked to a scene object then it will rotate with the object.

    game.CurrentScene.SceneObjects["example"]:to(10000, {ObjectRotation = math.rad(360)})

    to(delay, {arguments}, easing, loop, play-forwards-then-backwards)
  4. · 8 years ago
    I know the name is quite confusing.. but the function is for a "wind animation" it distort the image based on some noise. I saw sebastian using it, too.. so may he is also interrested in updating it to work with v11 shaderkit.

    hope i´m allowed to post his vid:

    look at the plants on the left... this is the "setRotateAnimation" function wink

  5. · 8 years ago
    I have already updated the rotate animation, redownload here: https://www.visionaire-studio.com/luadocs/#rotate-animation
  6. · 8 years ago
    works perfekt! Thank you so much!
  7. · 8 years ago
    Ah yeah, I forgot we had this function. Rotating grass & trees & so on. Sorry.

This thread is closed because nobody has replied for more than a year. Feel free to ask your question in a new thread.

New thread

Really delete this post?