-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[rmodels] LoadModelAnimationsGLTF()
computes poses interpolating between the anim duration and fixed 60 fps (GLTF_ANIMDELAY
)
#4426
Comments
Related to this feature, a future improvement could be using float values for frame request to get interpolated poses between key-frame poses: void UpdateModelAnimation(Model model, ModelAnimation anim, float frame);
|
Hi @raysan5, It helped me for smooth transitioning/interpolation between two animations(For ex: smoothly moves from walking to running) and blending(For ex: blending between move forward animation and move rightwards animation by a given factor to have all intermediate movement animation). I was planning to raise a PR for it. But you might be trying to add Could you please share if using Edit: Raised a PR here #4578 |
so is this done because in the PR it states that it needs still approval? |
Hi @CodingMadness, This is the discussion page #4606 |
It does not consider scenarios where animation is created at 24 fps or game does not run at 60 fps.
Model can already contain a fixed number of poses (keyframes) with a defined frame delay between each one (and also a expected interpolation between keyframes). That information is not considered at the moment.
The text was updated successfully, but these errors were encountered: