oschakravarthi Posted October 3, 2018 Share Posted October 3, 2018 Hi, I want to restrict teleportation to some parts of the floor. So, I want to place Invisible/Hidden/Fully transparent mesh there. Preferably a circular mesh. How can I achieve that? Thanks in advance. Quote Link to comment Share on other sites More sharing options...
oschakravarthi Posted October 3, 2018 Author Share Posted October 3, 2018 Hi, Found the solution. var transparentTexture = new BABYLON.StandardMaterial("transparentTexture", scene); transparentTexture.diffuseColor = new BABYLON.Color3(0, 0, 0); transparentTexture.alpha = 0; hiddenMesh.material = transparentTexture; JohnK, GameMonetize and Sebavan 3 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.