Commit 754b4450 authored by Chunchi Che's avatar Chunchi Che

update hand's visibility

parent cd844fd3
...@@ -93,7 +93,7 @@ function setupHandInteractivity( ...@@ -93,7 +93,7 @@ function setupHandInteractivity(
}); });
advancedTexture.addControl(button); advancedTexture.addControl(button);
interact.visibility = 0.2; interact.visibility = 0.01;
// interact.setEnabled(false); // interact.setEnabled(false);
} }
} }
...@@ -156,7 +156,7 @@ function setupHandAction( ...@@ -156,7 +156,7 @@ function setupHandAction(
BABYLON.ActionManager.OnPointerOverTrigger, BABYLON.ActionManager.OnPointerOverTrigger,
mesh.getChildMeshes(), mesh.getChildMeshes(),
"visibility", "visibility",
0.2, 0.01,
10 10
), ),
] ]
......
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