Git Product home page Git Product logo

Comments (5)

guansss avatar guansss commented on May 21, 2024

感谢支持~

➊待机动画不能正常循环

尝试一下设置过渡时间,比如:

import { config } from 'pixi-live2d-display';

config.idleMotionFadingDuration = 500;

➋控制器Controllers的API

这里面的参数我一个都没见过……真的是官方软件导出的模型吗?还是从别的软件提取出来的,比如 Live2DViewerEX 之类

from pixi-live2d-display.

Fpppps avatar Fpppps commented on May 21, 2024

➊待机动画不能正常循环

尝试一下设置过渡时间,比如:

import { config } from 'pixi-live2d-display';

config.idleMotionFadingDuration = 500;

没有解决哈,估计是有循环模式相关的参数设置,模型导入Live2DViewerEX是能正常使用

➋控制器Controllers的API

这里面的参数我一个都没见过……真的是官方软件导出的模型吗?还是从别的软件提取出来的,比如 Live2DViewerEX 之类

是官方软件导出的,设置过控制器的参数就会导出这些参数。Live2DViewerEX我都是导LPK格式到手机用的,在Live2DViewerEX是能正常使用。

from pixi-live2d-display.

guansss avatar guansss commented on May 21, 2024

设置后动作还是瞬间过渡吗?记得 config 要在创建模型之前设置,另外检查一下 motion3.json 里面是不是存在 FadeInTime/FadeOutTime 之类的参数覆盖掉了默认值

我查了一下,这些参数的确不是官方的,是 Live2DViewerEX 的自定义参数(https://live2d.pavostudio.com/doc/zh-cn/live2d/model-config/ ),最明显的就是这个 IntimacySystem,官方的功能里不可能有好感度系统

Loop 参数是官方的,但官方自己的 SDK 里面也没有实现,所以随缘吧,修不修复都有可能

PS: 官方 JSON 定义在这里:https://github.com/guansss/CubismWebFramework/blob/1f9cdfd140e87ba0ae68a356bb5ec339a0e65f99/src/CubismSpec.d.ts

from pixi-live2d-display.

Fpppps avatar Fpppps commented on May 21, 2024

好,明白了,非常感谢
最后想问一下鼠标追踪是可以用model.internalModel.xxx = null关闭掉的吗?
它的关键字是什么,我这边没找到

from pixi-live2d-display.

guansss avatar guansss commented on May 21, 2024
const model = await Live2DModel.from('shizuku.model.json', { autoInteract: false });

https://guansss.github.io/pixi-live2d-display/interactions/#interacting-manually

from pixi-live2d-display.

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.