question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

animatable.goToFrame bug when animatable.speedRatio is !== 1

See original GitHub issue

Hi,

First of all, I’m new to Babylon.js and WebGL in general. So I might be wrong or missing something here 👼

I do have a simulation running with Babylon and within the “player” I can select the exact time I want to go to by clicking on a “timeline”.

It works great! But the thing is, if the animatable.speedRatio is different than 1, it’s going to a (random?) wrong time.

I’ve just added a simple console.log before calling animatable.goToFrame: No matter what’s the current speed ratio, if I click at the same spot, it’s calling animatable.goToFrame with the same (good) value.

Here’s why I believe it’s a bug from Babylon.js and not the app.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
zakhenrycommented, Feb 5, 2018

@deltakosh I’ve had a go at a repro, and I believe this covers it:

https://www.babylonjs-playground.com/#JYIUDS#1

I’m not convinced that the speed ratio is actually at fault, as there appears to be an issue even when not changing the speed ratio, but setting it on init to a value other than 1

0reactions
deltakoshcommented, Feb 5, 2018

Will check it asap! Thanks a lot

Read more comments on GitHub >

github_iconTop Results From Across the Web

Problem with goToFrame and speed ratio - Bugs - Babylon.js
I tried using the same BJS version, no idea why the result differ locally vs Playground. This is my local example: <!DOCTYPE html>...
Read more >
Fixed issues in Animate release - Adobe Support
Here's a list of issues we fixed in the latest release of Animate. ... [winOS] Your Adobe Flash Player version is too old...
Read more >
animate
animate. These commands control the animation of a molecular trajectory and are used to read and write animation frames to/from a file or...
Read more >
What might be causing this animation bug with SwiftUI and ...
With implicit animations, any animatable parameter that changes, the framework will animate. Whenever possible, you should use explicit ...
Read more >
Animate - Wolfram Language Documentation
Animate [expr, {u, umin, umax}] generates an animation of expr in which u varies continuously from umin to umax ... makes u take...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found