Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

352
Visualizações
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
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda