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

feat(stage-ui): animate idle eye and focus movements on Live2D models #23

Merged
merged 3 commits into from
Feb 11, 2025

Conversation

sumimakito
Copy link
Collaborator

Feature

  • Animate idle eye saccades and focus (head) movements on Live2D models

    Screen Recording 2025-02-10 at 22 24 47

For Live2D models: Eyeball movements will be turned off in all motions of the idle motion group to avoid conflicts

Copy link

netlify bot commented Feb 10, 2025

Deploy Preview for drizzle-orm-duckdb-wasm ready!

Name Link
🔨 Latest commit 0f75629
🔍 Latest deploy log https://app.netlify.com/sites/drizzle-orm-duckdb-wasm/deploys/67aaa8993517eb0008266976
😎 Deploy Preview https://deploy-preview-23--drizzle-orm-duckdb-wasm.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Feb 10, 2025

Deploy Preview for airi-vtuber ready!

Name Link
🔨 Latest commit 0f75629
🔍 Latest deploy log https://app.netlify.com/sites/airi-vtuber/deploys/67aaa8995c0b8f000836f96b
😎 Deploy Preview https://deploy-preview-23--airi-vtuber.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@sumimakito sumimakito force-pushed the feat/live2d-idle-eye-focus branch from 8666d63 to 63ef32c Compare February 10, 2025 17:05
Comment on lines +109 to +117
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
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😂

Copy link
Member

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.

Copy link
Member

@nekomeowww nekomeowww left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks.

@nekomeowww nekomeowww merged commit 38ce04f into main Feb 11, 2025
2 checks passed
@nekomeowww nekomeowww deleted the feat/live2d-idle-eye-focus branch February 11, 2025 01:33
@nekomeowww nekomeowww restored the feat/live2d-idle-eye-focus branch February 14, 2025 07:31
@nekomeowww nekomeowww deleted the feat/live2d-idle-eye-focus branch February 14, 2025 08:22
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

Successfully merging this pull request may close these issues.

2 participants