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

221
Views
¿Cómo hacer una rotación en un objeto en dos direcciones pero una a la vez en three.js?

Quiero rotar las ruedas de un automóvil en dos direcciones, hacia arriba cuando el automóvil se mueve hacia adelante y cuando se mueve hacia la izquierda o hacia la derecha. Pero, cuando trato de mover las ruedas después de girar hacia la izquierda/derecha, la rotación todavía se aplica en la dirección hacia arriba, creando un extraño movimiento circular. lo hice usando

 // to rotate in the Y axis if (keyboard.pressed("left")) { wheel.rotation.y -= 0.01 } if (keyboard.pressed("up")) { // to rotate in the X axis wheel.rotation.x -= 50 }

imagen del coche

about 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Puede sonar tonto, pero ¿ha intentado usar el eje 'z' en lugar del 'y'?

about 4 years ago · Santiago Trujillo Report
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!