Hersir Posted April 26, 2017 Share Posted April 26, 2017 Hi do I need to include pep library for picking? I added click event bit saw that scene has pointer coardinates window.addEventListener("click", function () { var pickResult = scene.pick(scene.pointerX, scene.pointerY); }) Quote Link to comment Share on other sites More sharing options...
Temechon Posted April 26, 2017 Share Posted April 26, 2017 Hi! pep is for pointer event (on mobile mostly). If you don't need pointer, you don't need pep. Quote Link to comment Share on other sites More sharing options...
Hersir Posted April 27, 2017 Author Share Posted April 27, 2017 @Temechon so scene.pointerX and pointerY don't need pep and will work on desktop/mobile without it? Quote Link to comment Share on other sites More sharing options...
Temechon Posted April 27, 2017 Share Posted April 27, 2017 Yes. Quote Link to comment Share on other sites More sharing options...
Hersir Posted April 27, 2017 Author Share Posted April 27, 2017 thx 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.