ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Lookat issue

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Tadas Neverdauskis
Lookat issue
on Feb 3, 2018 at 11:00:47 am

Hi,

I have this issue, when I rotate null object (camera) X axis to 90 degrees, everything is ok, but when I rotate 91 degrees, my object flips, and its Z rotation becomes -180 degrees instead of 0. What would be the solution?

Expressions that I used:

lookAt(thisComp.activeCamera.toWorld([0,0,0]),position)[0]
lookAt(thisComp.activeCamera.toWorld([0,0,0]),position)[1]
lookAt(thisComp.activeCamera.toWorld([0,0,0]),position)[2]


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 CreativeCOW.net All Rights Reserved
[TOP]