Richard C Posted October 11, 2016 Share Posted October 11, 2016 (edited) Could someone give me a pointer as to how rotate a mesh but not the camera, I'm sure this must be straightforward but I can't seem to find easy to understand docs or playground example. Additionally, how do you show a console.log in the playground - it doesn't seem to appear in the logs window.. Thanks as ever Richard C Update: It is blindingly obvious once the light eventually comes on that to give control of movement to an object you need to detach control of the canvas from the camera - camera.detachControl(canvas); Once you have completed the object movement give control of the canvas back to the camera - camera.attachControl(canvas); Dah-Ooh Edited October 16, 2016 by Richard C Update Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted October 11, 2016 Share Posted October 11, 2016 Hey Richard! Console.log should just work with F12 console (I did it 10000 times a day:)) mesh.rotation.x += 0.01 (or.y,.z) for the rotation Doc: http://doc.babylonjs.com/overviews/How_Rotations_and_Translations_Work Quote Link to comment Share on other sites More sharing options...
Richard C Posted October 11, 2016 Author Share Posted October 11, 2016 Hi Delta I think I am displaying all the signs of senility but console log not reporting playground logs window or F12 !! Thanks Richard C Quote Link to comment Share on other sites More sharing options...
jerome Posted October 11, 2016 Share Posted October 11, 2016 there's one different console per browser tab. Are you sure this console is the one of the PG tab ? Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted October 13, 2016 Share Posted October 13, 2016 And in IE you have to open the console first Quote Link to comment Share on other sites More sharing options...
Richard C Posted October 16, 2016 Author Share Posted October 16, 2016 Delta, Jerome Many thanks. Got it now. Richard C GameMonetize 1 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.