Closed lookdczar closed 1 year ago
在设置{ autoInteract: false }取消默认的鼠标跟踪后,想要通过代码播放motion,但发现播放无效,是需要设置什么么?
Live2DModel.from(path, { autoInteract: false })
model.motion("XXX"); 无效
document.getElementById("canvas").addEventListener('pointerdown', (event) => model.tap(event.clientX, event.clientY));
虽然on回调了,但确实需要设置这个
在设置{ autoInteract: false }取消默认的鼠标跟踪后,想要通过代码播放motion,但发现播放无效,是需要设置什么么?
Live2DModel.from(path, { autoInteract: false })
model.motion("XXX"); 无效