animatable.goToFrame bug when animatable.speedRatio is !== 1
See original GitHub issueHi,
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:
- Created 6 years ago
- Comments:5 (4 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@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
Will check it asap! Thanks a lot