Code Monkey home page Code Monkey logo

Comments (2)

c-morten avatar c-morten commented on September 25, 2024

For the gesture animations we provide in gesture.glb, we created the animations with a loop-able segment in the middle of each clip where the host is in the full posture of the gesture. The config options serve 2 purposes - first they provide the start and end frames to be able to split each clip so we can extract that looping hold. The other purpose is to configure a specific animation type called a QueueState. This type of animation allows you to define N-number of sub-animations. When a QueueState animation is played, it will play each sub-animation in sequence until it reaches the end of its animation queue or is interrupted by a different animation. The queue will automatically advance for animations that do not loop infinitely. Because of this, we have a 'holdTime' parameter in the GestureFeature that allows you to specify how many seconds a QueueState gesture animation will stay in an infinitely looping sub-animation before the GestureFeature advances the QueueState to the next sub-animation. You are not required to use QueueStates for gestures, it is completely optional. We demonstrate this with the emote animations, which are just regular SingleState animations. We do not support executing sub-animations manually. However if you wanted to force a QueueState to progress to the next sub-animation while it is playing you can use AnimationFeature.playNextAnimation.

from amazon-sumerian-hosts.

roschler avatar roschler commented on September 25, 2024

@c-morten Thanks.

from amazon-sumerian-hosts.

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.