MinZe Posted October 17, 2018 Share Posted October 17, 2018 Hello! I need to get a plane equation from a plane mesh that I have in my scene. The idea is to position a clipPlane in the same position and rotation as the plane mesh on my scene. Thanks Quote Link to comment Share on other sites More sharing options...
NasimiAsl Posted October 17, 2018 Share Posted October 17, 2018 hi @MinZe http://www.babylonjs-playground.com/#HS2KUH#1 that is some rotation Helper method that an be nice if you make PG from your example ssaket 1 Quote Link to comment Share on other sites More sharing options...
JohnK Posted October 17, 2018 Share Posted October 17, 2018 Here is one way https://www.babylonjs-playground.com/#WYJ862 Just increase the clipDistance a little if you want the plane to be clipped https://www.babylonjs-playground.com/#WYJ862#1 (or just make it invisible) NasimiAsl 1 Quote Link to comment Share on other sites More sharing options...
NasimiAsl Posted October 17, 2018 Share Posted October 17, 2018 i miss that sample to add sorry http://www.babylonjs-playground.com/#HS2KUH#2 Dieterich 1 Quote Link to comment Share on other sites More sharing options...
MinZe Posted October 18, 2018 Author Share Posted October 18, 2018 Hi, sorry it's true I forgot to do some PG. Thanks to both of you Really helpful, specially the one fromJohnK!!! Right now I'm very busy, but as soon as I'm able to test it I'll tell you if it worked 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.