Page 1 of 1

Calculate Rotation Betweeen two points

Posted: Sat Apr 28, 2018 3:01 am
by MacLad
Hi guys,

I have an RH (Rubber Hose) Layer which has some shapes on it which are stick on them by using null with the help of the plugin Wayfinder(Which gives a position on the RH Layer ). so when I animate the RH layer it Sticks to it(ref Image 1).

https://images.creativecow.net/userImageDisplay.php?userId=317877&imageFile=image1.png
Now my problem is that when I animate RH layer, the rotation of the null is different (ref Image 2).
https://images.creativecow.net/userImageDisplay.php?userId=317877&imageFile=image2.png
Is it possible to fix this rotation problem by using an expression or is there any other way I can solve this problem?
Thank You