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.

latest build (as per readme) features an old version of animation-mixer that does not match docs / lacks startFrame

See original GitHub issue

The version of animation mixer that one finds at https://cdn.jsdelivr.net/gh/donmccurdy/aframe-extras@v6.1.1/dist/aframe-extras.js does not have a startFrame property, as you see in the repo’s version of that component and read about in the readme for that component.

I ended up just copying the component out myself to get it working in a pinch, but I’m not sure if that’s just been recently added and a new release is pending or if some other problem is happening with the dist generation.

You can see this by just going to https://cdn.jsdelivr.net/gh/donmccurdy/aframe-extras@v6.1.1/dist/aframe-extras.js and doing ctrl+f animation-mixer and looking there, and comparing the schema there with the schema at https://github.com/n5ro/aframe-extras/blob/master/src/loaders/animation-mixer.js.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
n5rocommented, Apr 23, 2021

I don’t know I was thinking, with a PR, of looking to at least add the missing ‘startFrame’ and ‘clampWhenFinished’ code, why would we update the readme at this point? but I would need perhaps to look at all the other updates to the code, and perhaps also this update should be done as a version update, on my local system, with npm, while updating everything else, and then updating the github, instead of going the patchwork route of individual lines of code being edited in a PR. I think I need to allocate more of my time to looking into this first a lot more to really answer your question. I think also that I should just change all the demos to use Ammo in Aframe Physics System for now. Because I will need to spend extra time testing the Cannon updates that I have planned.

1reaction
n5rocommented, Apr 20, 2021

Kyle since you spotted this first do you want to send a PR. I should make an effort to approve it quickly.

Read more comments on GitHub >

github_iconTop Results From Across the Web

AnimationMixer#update – three.js docs
The AnimationMixer is a player for animations on a particular object in the scene. When multiple objects in the scene are animated independently,...
Read more >
aframe-extras - Bountysource
latest build (as per readme) features an old version of animation-mixer that ... does not have a startFrame property, as you see in...
Read more >
Adding a Three.js animation to Webflow using custom code
If you are new to web development or design I highly recommend this course. ... We're passionate about helping you build your dream...
Read more >
Three. js and TypeScript | Sean Bradley - Skillshare
Welcome to my course on Three. js and Typescript. Three. js is a cross-browser JavaScript library and Application Programming Interface used to create...
Read more >
Three.js animation mixer doesn't update unless logged in ...
You should never call Clock.getDelta() more than once in your animation loop. Otherwise the delta values will be near 0 (since you get...
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