fateriddle 3 Posted November 9, 2018 Report Share Posted November 9, 2018 This is the PG, ball moving through a wall, I want to hide whatever part of the ball that's on the right side of the wall, so it feels like the ball is absorbed into the wall. Is this possible? https://www.babylonjs-playground.com/ts.html#JP05DS#1 Quote Link to post Share on other sites
MarianG 151 Posted November 9, 2018 Report Share Posted November 9, 2018 https://www.babylonjs-playground.com/ts.html#JP05DS#2 😋 Wingnut 1 Quote Link to post Share on other sites
fateriddle 3 Posted November 9, 2018 Author Report Share Posted November 9, 2018 2 hours ago, MarianG said: https://www.babylonjs-playground.com/ts.html#JP05DS#2 😋 What if the ball is an imported mesh? Then I can't attach material onto it. Quote Link to post Share on other sites
MarianG 151 Posted November 9, 2018 Report Share Posted November 9, 2018 You don't use imported meshes 😁 I'm just kidding. I have no idea, maybe RenderTarget as here https://www.babylonjs-playground.com/#EEOWP#7. Maybe someone has a better idea Quote Link to post Share on other sites
fateriddle 3 Posted November 9, 2018 Author Report Share Posted November 9, 2018 43 minutes ago, MarianG said: You don't use imported meshes 😁 I'm just kidding. I have no idea, maybe RenderTarget as here https://www.babylonjs-playground.com/#EEOWP#7. Maybe someone has a better idea I have an idea of creating a transparent outside / hidden inside box on the right side of the wall, but is it possible? Quote Link to post Share on other sites
jerome 1734 Posted November 9, 2018 Report Share Posted November 9, 2018 clip planes ? https://www.babylonjs-playground.com/#Y6W087 MarianG 1 Quote Link to post Share on other sites
MarianG 151 Posted November 9, 2018 Report Share Posted November 9, 2018 2 hours ago, jerome said: clip planes ? https://www.babylonjs-playground.com/#Y6W087 Yes. Great idea. I think I have this playground or something similar saved somewhere, but didn't find it Quote Link to post Share on other sites
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.