We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

Camera tween question

Home Forums Puzzles Camera tween question

Tagged: 

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #12636
    dragosburian
    Customer

    Hello, is there a way to get the status of the camera tween, in order to know when the tween is finished, just like in the case with animations?

    Attachments:
    You must be logged in to view attached files.
    #12671

    Hi!

    You can achieve the same effect by getting the distance to the source or target object each frame and comparing it to some value. :)

    Verge3D’s Tech Chief
    FB | Twitter | VK

    #12932
    dragosburian
    Customer

    can you show me how to do that in a snippet?

    #12952

    I just realized another possible solution – just add an after X seconds puzzle with the timeout set to the camera tween period.

    Chief 3D Verger | LinkedIn | Twitter

    #13028
    dragosburian
    Customer

    Yes, we tried this, but if the machine is slow and the framerate drops then the tween will take a bit longer to complete and will sometimes take the snapshot too early, that is why we would like to get the actual status of the tween :)

    #13029

    I see. We’ll try to implement the callback slot for the tween camera puzzle in the near future. :)

    Chief 3D Verger | LinkedIn | Twitter

    #13033
    dragosburian
    Customer

    Ok Yuri, thank you! :)

    #14073
    dragosburian
    Customer

    Hello Yuri, any news on this feature? :)

    #14074

    yes, we implemented this feature – expect it in the final 2.12 release!

    Chief 3D Verger | LinkedIn | Twitter

    #14076
    elk
    Customer

    A puzzle for getting the current frame of an animation would also be nice, like if you are half way through an animation and the user clicks it again, you could revers play it from that point in the animation, instead of jumping to the end and then revers the whole animation. Like if you have a door someone could diside to close the door before the animation had run all the way to open. Or does someone have a working setup for this that will work consistently ?

    #14085

    yes, this thing could be helpful, thanks for the idea :good:

    Chief 3D Verger | LinkedIn | Twitter

Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.