roman_44 Posted January 5, 2016 Share Posted January 5, 2016 Hello Babylon citizens!I need to put html element just above the selected object.Any ideas about how can I get distance in pixels between for example center of the selected object and left and top edges of the canvas.Actually I have a plane in a scene, and I need to find distance of the left and top corner of this plane to the left and top corner of a canvas in pixels.Is it possible? Did not find anything in the forum!Thanks a lot! Quote Link to comment Share on other sites More sharing options...
Convergence Posted January 5, 2016 Share Posted January 5, 2016 http://www.html5gamedevs.com/topic/14637-translating-a-meshs-vertices-to-screen-coords/ Quote Link to comment Share on other sites More sharing options...
roman_44 Posted January 6, 2016 Author Share Posted January 6, 2016 Convergence, thanks. That exactly what I'm looking for. That means that my search engine is bad 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.