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

211
Views
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 answers
Answer question

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 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!