reddozen Posted August 29, 2016 Share Posted August 29, 2016 @RaananW Have a question about the distance calc. is it looking at mesh.position.(x,y,z) or is it looking at mesh.getBoundingInfo().boundingBox.center(x,y,z) ? I couldn't really tell from the repository. Quote Link to comment Share on other sites More sharing options...
Pierre Glibert Posted August 30, 2016 Share Posted August 30, 2016 Hi @reddozen, It's calculate with bounding box : https://github.com/BabylonJS/Babylon.js/blob/master/src/Mesh/babylon.mesh.ts#L301 RaananW 1 Quote Link to comment Share on other sites More sharing options...
reddozen Posted August 31, 2016 Author Share Posted August 31, 2016 Beautiful. thanks. 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.