Tainder Posted November 27, 2013 Share Posted November 27, 2013 Hey, I want to implant a free camera into my babylon. I currently have this code : http://sdrv.ms/1iTTl3S but i thought i should just delet the current Arc Rotate Camera and put the Free One with the same default position but it seems like this is not the best idea Thanks for your help.Tainder. Quote Link to comment Share on other sites More sharing options...
Dad72 Posted November 27, 2013 Share Posted November 27, 2013 You can do so, there is no problem.var camera = new BABYLON.FreeCamera("Camera", new BABYLON.Vector3(0, 0, 5), scene); Quote Link to comment Share on other sites More sharing options...
Tainder Posted November 27, 2013 Author Share Posted November 27, 2013 Oh yes thanks i just forgot to disable the : camera.setPosition(new BABYLON.Vector3(7, 7, 100)); that's why it didnt work. Thanks Quote Link to comment Share on other sites More sharing options...
Tainder Posted November 27, 2013 Author Share Posted November 27, 2013 And the : touchCamera.moveSensibility = 100 ; should be in another line or i should put it in the same line ? Quote Link to comment Share on other sites More sharing options...
Dad72 Posted November 28, 2013 Share Posted November 28, 2013 No, delete line touchCamera.moveSensibility. 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.