Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

358
Views
babylon.js: reloaded code for disabling rotation of CharacterController not being reflected

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.

about 4 years ago · Santiago Gelvez
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!