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

216
Visualizações
prevent scaling of a child object as parent scale increases in three.js

I have a program in three.js that consists of a parent object and a few child objects. The program increases the scale of the parent object (sometimes only in one dimension, sometimes in multiple). the child objects get distorted as a result.

How it looks before scaling

1

Example of child distortion after scaling

2

I want to undo the scaling done to the child objects when the parent object is applied. I still want them to move with the parent, so clearing their relationship isn't an option I've considered.

I have tried scaling the children by 1/parentScale, but this yields oversized and inaccurate dimensions. My thinking is that either:

  • 1/parentScale shouldn't work because the parent and children objects do not share original dimension ratios (parent is 6 arbitrary units x 9 x 1.75 and children are miscellaneously sized) and therefore additional factors are needed in the un-scaling equation. Result of scaling by 1/parentScale
  • there is a way to lock the size of an object either in Blender (which is where I made my .glb file) or in Three.js that you guys can show me

I tried locking dimensions of children in Blender but it didn't work. Maybe I did it wrong.

about 4 years ago · Juan Pablo Isaza
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