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

134
Views
SCNNode lookAt is facing the reversed direction

I have a custom skeleton 3d Model I got from Unity, converted to dae, and imported to XCode.

In Unity, transform that lookAt, performs as expected. But in XCode, it is looking at reversed direction. It seems, that orientation and/or rotation of the SCNNode got reversed.

For example, in Swift

Test 1

  1. Skeleton is at (0,0,0)
  2. call lookAt (3, 0 , 0)

Result for Test 1 Skeleton is facing negative x direction. And back is facing positive direction (3).

Test 2

  1. Skeleton is at (0,0,0)
  2. call lookAt (3, 10, 0)

Result for Test 2 Skeleton is facing negative x direction Skeleton is facing negative y direction

Back is facing positive x direction (3). Back is facing positive y direction (10).

I dont know a lot about SceneKit and Unity. I used https://anyconv.com/fbx-to-dae-converter/ to convert my Unity FBX Asset to dae

Thanks in advance

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

You have to get your models oriented before you use them. Once they are set, that's what you get and you can't do anything about it.

See my answer here: 56183036

It's dated, but I think it still works.

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!