elkyu Posted July 28, 2015 Share Posted July 28, 2015 Hi, I try to get the face ID of a ground mesh with a pick info but when I click nothing happens. I can do that on a plane with this code but it doesn't work on a ground mesh, why ? scene.onPointerDown = function(evt, pickResult){ if(pickResult.hit){ var faceId = pickResult.faceId; console.log(faceId); }}; Quote Link to comment Share on other sites More sharing options...
elkyu Posted July 28, 2015 Author Share Posted July 28, 2015 Ow .. my bad, I don't know why it doesn't work before but .. this code is working GameMonetize 1 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.