Skip to content
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

AI triggered animation duration. #407

Open
kirelisaurimas opened this issue Dec 9, 2024 · 0 comments
Open

AI triggered animation duration. #407

kirelisaurimas opened this issue Dec 9, 2024 · 0 comments

Comments

@kirelisaurimas
Copy link

kirelisaurimas commented Dec 9, 2024

I am not sure if this is a bug or missconfiguration somewhere. I would like to ask guidance here. Problem is animations that are triggered with AI input last only part of a second and then goes back directly to idle animation. Same behavior is on example project as well. The first animation (wave) that is triggered works correcly, but then after it any animations triggered via chat is super short. Note that facial emotions doesn't have this problem.

2024-12-09.16-15-22.mp4

If it possible could you guide me how to control this behavior? Or maybe it is a bug? Could it be that I don't use TTS so as it don't get audio file it automaticly finishes the animation?

EDIT 1:

if (request.StartIdlingOnEnd && !token.IsCancellationRequested)
{
    // Stop running animation not to keep the current state to the next turn (prompting)
    // Do not start idling when cancel requested because the next animated voice request may include animations
    StartIdling();
}

It seems that AnimatedSay() was the culprit, that if I dont use audio it sees that sentence is automaticly ended and that resets animation to idle. However I have not find how to disable lip sync or dont use AI voice easily. And example without TTS would be great to have.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant