Comments (5)
感谢支持~
➊待机动画不能正常循环
尝试一下设置过渡时间,比如:
import { config } from 'pixi-live2d-display';
config.idleMotionFadingDuration = 500;
➋控制器Controllers的API
这里面的参数我一个都没见过……真的是官方软件导出的模型吗?还是从别的软件提取出来的,比如 Live2DViewerEX 之类
from pixi-live2d-display.
➊待机动画不能正常循环
尝试一下设置过渡时间,比如:
import { config } from 'pixi-live2d-display'; config.idleMotionFadingDuration = 500;
没有解决哈,估计是有循环模式相关的参数设置,模型导入Live2DViewerEX是能正常使用
➋控制器Controllers的API
这里面的参数我一个都没见过……真的是官方软件导出的模型吗?还是从别的软件提取出来的,比如 Live2DViewerEX 之类
是官方软件导出的,设置过控制器的参数就会导出这些参数。Live2DViewerEX我都是导LPK格式到手机用的,在Live2DViewerEX是能正常使用。
from pixi-live2d-display.
设置后动作还是瞬间过渡吗?记得 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.
好,明白了,非常感谢
最后想问一下鼠标追踪是可以用model.internalModel.xxx = null
关闭掉的吗?
它的关键字是什么,我这边没找到
from pixi-live2d-display.
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)
- 部位 opacity 无法归零 HOT 1
- cubism 4 模型应用 config.expressionFadingDuration 不起作用 HOT 1
- SyntaxError: Cannot use import statement outside a module
- 报错: Uncaught (in promise) TypeError: Unknown settings format. cubism4.es.js HOT 4
- Uncaught TypeError: Cannot read properties of undefined (reading '1') HOT 4
- Failed to start up Cubism 4 framework. HOT 3
- Uncaught TypeError: manager.on is not a function HOT 10
- yarn playground后报错 [vite] Failed to load source map for /core/live2dcubismcore.js. HOT 3
- 作者您好,请问有捐赠方式吗 HOT 2
- 模型的hotkey配置怎么触发 HOT 1
- 关于项目完全离线本地化 HOT 1
- Cubism 5 support HOT 3
- 如何在框架内修改模型参数 HOT 5
- Multiple expression HOT 1
- 请教一下,我在实现口型同步时修改ParamMouthOpenY不起作用,是不是因为跟动作里ParamMouthOpenY相关的设置冲突了,请问怎么调整这个优先级呢? HOT 2
- 大佬,运行cubism3模型报错。 HOT 1
- Model part customization HOT 1
- Uncaught ReferenceError: process is not defined HOT 5
- Multiple overlapping hands with the default value `false` of `config.cubism4.setOpacityFromMotion` HOT 1
- 如何正常的切换一个模型的纹理(Texture) HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pixi-live2d-display.