Giter Club home page Giter Club logo

Comments (7)

warrenm avatar warrenm commented on September 4, 2024 1

The code in the iOS sample app was not properly updated during recent changes to SceneKit animation import. I've updated it.

If you just want to indefinitely loop the first animation in the asset, this updated code might be useful.

Thanks for bringing this to my awareness.

from gltfkit2.

warrenm avatar warrenm commented on September 4, 2024

Both of these assets seem to render and animate correctly in the sample viewer app on macOS. Can you provide more information about how you're trying to play animations?
Screenshot 2023-09-26 at 10 17 41 PM

from gltfkit2.

aPeddi avatar aPeddi commented on September 4, 2024

Sorry for not mentioning this but I was trying out the iOS App. macOS version does seem to have additional code tho. I'll definitely try to use that code on iOS and will see if it works.

from gltfkit2.

warrenm avatar warrenm commented on September 4, 2024

This issue will be automatically closed in seven days if no further response is received.

from gltfkit2.

aPeddi avatar aPeddi commented on September 4, 2024

I appreciate the last response and am able to run animations now. The only change I had to make on top of the updated code is instead of playing the first animation I ended up playing all of them and am able to see skeletal animations as well.

from gltfkit2.

warrenm avatar warrenm commented on September 4, 2024

Thanks for the follow-up. It's always been somewhat ambiguous which, if any, animations should be played automatically in cases like this, since it's easy to get into situations where incompatible animations are playing simultaneously with the all-or-nothing approach. I'm glad you found a solution that works for you.

from gltfkit2.

warrenm avatar warrenm commented on September 4, 2024

Please don't comment on closed issues. It's highly unlikely that you're experiencing the exact same issue as the original issue author. If you need help, please open your own issue describing (1) your platform and version; (2) exactly what you have done to diagnose the issue; and (3) a sample project demonstrating the issue, or at least a link to an asset that demonstrates the issue when loading with the sample viewers.

from gltfkit2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.