MrGroove Posted August 28, 2018 Share Posted August 28, 2018 Hi everyone, i'm positioning the camera (ArcRotateCamera) to specific points with (for example) camera.setPosition(new BABYLON.Vector3(0,500,0) After panning the camera, i have problems to reset the camera position. Is there a property to reset the panning? Best regards Quote Link to comment Share on other sites More sharing options...
DylanD Posted August 28, 2018 Share Posted August 28, 2018 I dont think I fully understand the problem. How are you panning the camera? Could you recreate your scene in a playground? here Quote Link to comment Share on other sites More sharing options...
Guest Posted August 28, 2018 Share Posted August 28, 2018 You can also save camera info with camera.storeState() and then call camera.restoreState() when you want to go back to initial values 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.