zhang Posted August 1, 2017 Share Posted August 1, 2017 Hi: I have a model that needs to show, I need him to have a pan function, but i use camera.targetScreenOffset to implement it, but he is not smooth. Please help me, thank you Quote Link to comment Share on other sites More sharing options...
zhang Posted August 1, 2017 Author Share Posted August 1, 2017 If you can I want to know how to make the rotation unrestricted, like “three.js” can be rotated at 720 degrees。thanks Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted August 1, 2017 Share Posted August 1, 2017 Hello so rotation is not restricted, you can use any value (but remember that we are using radians). Regarding the translation of your mesh, you can try a strategy similar to the one we use for the camera: https://www.babylonjs-playground.com/#LVK86F#1 Quote Link to comment Share on other sites More sharing options...
zhang Posted August 2, 2017 Author Share Posted August 2, 2017 Thank you, I think I know how to do it 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.