I am trying to run the code at https://github.com/ssatguru/BabylonJS-CharacterController-Samples/tree/master/sample-nodejs and I'm not sure if I am doing this right because when I make the following change in src/index.js, the change is not reflected.
In fact I had to run npm run build, wait a few minutes and then run http-server to see the changes. This is far too slow, is there a way to speed this up?
In particular I modified the ArcRotateCamera from Babylon.js but the turning off of rotation does not occur as desired.
var camera = new BABYLON.ArcRotateCamera("ArcRotateCamera",alpha,beta,5,target,scene);
cc.setTurningOff(true);
adding that cc.setTurningOff did not reload the browser. In fact, it was only after I did an npm build it seem to load the modified script. Even then, the rotation turning off feature discussed over at https://github.com/ssatguru/BabylonJS-CharacterController doesn't seem to work.
I'm very new to Babylon.js and nodejs so any help here is appreciated. Basically I want the third person character to rotate indepdently of the camera. Currently pressing backward moves the player back. I want it to face the camera when i press back, i want it to keep its own sense of rotation.