Lookat Vop not working when geometry not centered

   727   1   2
User Avatar
Member
42 posts
Joined: March 2019
Offline
Hello,

I still don't understand transformation matrices so I can make them do what I want^^. Can someone help me out on the file I provided below?

I am orienting a Grid towards a sphere with a "lookat" vop. It works when the grid is centered at (0,0,0) but when I transform the grid before the vopnet its not working right although I am taking the center of the grid as the from vector in the "lookat" vop?

Greetings

Attachments:
lookatrotation.hipnc (135.7 KB)

User Avatar
Member
209 posts
Joined: March 2018
Offline
Hi!
You need to apply the final offset at the end to get it to work.
Please see the attached file.

Attachments:
FIXED lookatrotation.hipnc (131.9 KB)

  • Quick Links