Jump to content

Search the Community

Showing results for tags 'reverse animate'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • HTML5 Game Coding
    • News
    • Game Showcase
    • Facebook Instant Games
    • Web Gaming Standards
    • Coding and Game Design
    • Paid Promotion (Buy Banner)
  • Frameworks
    • Pixi.js
    • Phaser 3
    • Phaser 2
    • Babylon.js
    • Panda 2
    • melonJS
    • Haxe JS
    • Kiwi.js
  • General
    • General Talk
    • GameMonetize
  • Business
    • Collaborations (un-paid)
    • Jobs (Hiring and Freelance)
    • Services Offered
    • Marketplace (Sell Apps, Websites, Games)

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Twitter


Skype


Location


Interests

Found 1 result

  1. Hi All, I'm new here, So first of all, Kudos to all working in BJS. I'm impressed. And Kudos to the community, as I can see it is a very active community. Coming to my problem, I have a babylon file, which contains a set of meshes, each having its own key-framed animations. After a lot of trial and error, I could animate them using scene.beginAnimation(mesh, 1, 100, false, 0.6, function() {}); And Iam not sure what values I need to give for speedratio, I tried with 1 and couple of other numbers and right now on 0.6. Yay ! now it is working. It Played. Now I have two problems or worries, 1. I had to cycle through a loop to animate the each of these meshes found inside this file, while I have attached them all into one parent (empty) node, so that I thought if I can say BeginAnimation on that mesh, the rest of the child will play the keyframes... but nothing happened... so I had to end up cycling through the whole set of meshes in the scene and animate them if the the names match. 2. Now I tried to reverse the animation cycle, to play it backwards, all it does is jumps back to the first frame. I tried different way, I gave different combinations like below, changed from as 100, and to as 1, changed speedratio as -0.6, but no effect. scene.beginAnimation(mesh, 100, 1, false, -0.6, function() {} ); looking for some enlightenment on both of these. Thanks and Keep up the good work.
×
×
  • Create New...