Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

121
Vistas
How do I move a three.js 3D object by world origin with GSAP rather than local origin?

Basically my cube is in a group, the group is at position.x = 5, and I'm trying to move my cube to position.x=12 from world origin with GSAP, but it's relative to the group's position instead. Therefore the cube's world position is x = 17 but I want it to be x=12 world position.

Is it possible to tell GSAP to animate from the world origin instead? I'm not sure how I would do this, I have looked into the documentation and found

.getWorldPosition(), but am unsure how to animate the resulting vector in GSAP with my camera also copying the position during the animation.

Here is a codesandbox (refresh page to see animation start from 5->17 rather than 0->12): https://codesandbox.io/s/currying-bush-v02zhn?file=/src/index.js

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda