Dad72 Posted February 15, 2014 Share Posted February 15, 2014 Hi, What is the difference between pick() and pickWithRay() ?This is the same thing, No ? Thanks Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted February 16, 2014 Share Posted February 16, 2014 pick will create a ray for you from the coordinates of the mousepickWithRay must be feed in with a ray Quote Link to comment Share on other sites More sharing options...
Dad72 Posted February 16, 2014 Author Share Posted February 16, 2014 Ah, ok, I see. Thank You By against another question to avoid open another topic for that. How can I retrieve the value size of an object (plane for example). I see that we can recover position, rotation, scaling... but not size. I would be grateful if it possible to add this in Babylon. Thank You Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted February 16, 2014 Share Posted February 16, 2014 What do you mean by size? Because you can call mesh.getBoundingInfo() Quote Link to comment Share on other sites More sharing options...
Dad72 Posted February 16, 2014 Author Share Posted February 16, 2014 I have put in bold BABYLON.Mesh.CreatePlane("grass", 0.3, scene, false); Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted February 16, 2014 Share Posted February 16, 2014 this can be get with the mesh.getBoundingInfo().boundingBox Quote Link to comment Share on other sites More sharing options...
Dad72 Posted February 16, 2014 Author Share Posted February 16, 2014 Ok, I will do as this. Thank You 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.