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.

Stop running animateParamPuzzle

Home Forums Puzzles Stop running animateParamPuzzle

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #31180
    web
    Customer

    I would like to know if there is a way to stop all running animateParamPuzzle actions.

    When this is not possible via a puzzle, is there maybe a programmatically way via javascript?

    #31215

    Hi,

    this puzzle is based on tween.js. It has API for stopping the tween:
    https://github.com/tweenjs/tween.js/blob/master/docs/user_guide.md

    Chief 3D Verger | LinkedIn | Twitter

    #31217
    web
    Customer

    Thx, for the link.
    I was heading also in that direction. But I couldnt get it working, cause I dont know how I can get all tweens in the scene and then execute the stop.

    Could you maybe give me a hint? :rose:

    Edit:
    Think I got it, just a simple:
    TWEEN.removeAll();

    Hope this is the correct way, without populating any other problems.

    #31227

    awesome! :yahoo:

    Chief 3D Verger | LinkedIn | Twitter

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