han7a Posted August 5, 2016 Share Posted August 5, 2016 Hi people, a question, I want to turn on a menu when I put a point on a mesh, in this case a crosshair over a sphere. but when I move the menutrigger in the .y = 1 position, it does not work. is then the height of the ray is no longer correct? I want to have the ray in the same angle as the camera, so i can still hit the menutrigger if the menutrigger is on other positions. or the approach is wrong? http://www.babylonjs-playground.com/#2GQ27P#1 Quote Link to comment Share on other sites More sharing options...
Nabroski Posted August 6, 2016 Share Posted August 6, 2016 @adam he is good in math i dont even understand the problem Quote Link to comment Share on other sites More sharing options...
adam Posted August 6, 2016 Share Posted August 6, 2016 http://www.babylonjs-playground.com/#2GQ27P#2 jerome and Nabroski 2 Quote Link to comment Share on other sites More sharing options...
han7a Posted August 7, 2016 Author Share Posted August 7, 2016 14 hours ago, adam said: http://www.babylonjs-playground.com/#2GQ27P#2 wow great, thxs! 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.