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

213
Visualizações
How to change the affine transform of an object dynamically using 4x4 transformation matrix.(float array of 16 elements)

Hi i need to transform an object dynamically in Unity iphone project using the float array of 16 which will be generated using ARToolKit. what is the api in unity 3d to change trasformation.

over 4 years ago · Santiago Trujillo
1 Respostas
Responde à pergunta

0

Every GameObject in Unity has a Transform component attached to it. This can be accessed from other components using

Transform trans = gameObject.transform

This component has properties that can be used to alter the object's transformation. Among them are e.g.

position (Vector3)
rotation (Quaternion)
eulerAngles (Vector3)
localScale (Vector3)
...

You should be able to pull values out of your 4x4 matrix and apply them to these properties. I don't think there's a way to directly apply a matrix to a GameObject.

over 4 years ago · Santiago Trujillo Relatório
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