Commit 3ca247b6 authored by Chunchi Che's avatar Chunchi Che

set isRecusive is true in hand's ActionManager

parent 754b4450
......@@ -105,6 +105,7 @@ function setupHandAction(
scene: BABYLON.Scene
) {
mesh.actionManager = new BABYLON.ActionManager(scene);
mesh.actionManager.isRecursive = true;
// 监听点击事件
mesh.actionManager.registerAction(
new BABYLON.ExecuteCodeAction(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment