hunts Posted January 27, 2017 Share Posted January 27, 2017 hello everyone, i made a little playground here but the camera get stucked, it's already attached to the canvas https://jsfiddle.net/pmkg2tov/3/ Quote Link to comment Share on other sites More sharing options...
Raggar Posted January 27, 2017 Share Posted January 27, 2017 https://jsfiddle.net/pmkg2tov/5/ On your pointerdown event, if no hit was registrered(pickedResult.hit), the result is null. This causes the event to freeze/crash/bug, so you can't move the camera using the very same event. Quote Link to comment Share on other sites More sharing options...
hunts Posted January 27, 2017 Author Share Posted January 27, 2017 @Raggar 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.