-
-
Notifications
You must be signed in to change notification settings - Fork 17
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
feat(stage-ui): animate idle eye and focus movements on Live2D models #23
Conversation
✅ Deploy Preview for drizzle-orm-duckdb-wasm ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for airi-vtuber ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
8666d63
to
63ef32c
Compare
const hookedUpdate = motionManager.update | ||
motionManager.update = function (model, now) { | ||
hookedUpdate?.call(this, model, now) | ||
// Only update eye focus when the model is idle | ||
if (motionManager.state.currentGroup === motionManager.groups.idle) { | ||
idleEyeFocus.update(internalModel, now) | ||
} | ||
return true | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😂
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't worry, this should not be a big problem.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thanks.
Feature
Animate idle eye saccades and focus (head) movements on Live2D models
For Live2D models: Eyeball movements will be turned off in all motions of the idle motion group to avoid conflicts