Hi guys,
I need to create a vector attribute, where all the vectors are aligned along the tangent of the surface, while also pointing toward a specified target point.
I believe that combining the Tangent-field SOP with the Normal vector attribute should provide the solution, but I'm not sure how to properly blend them together!
vector target_pos = point(0, "P", 66);
vector normal = normalize(@N);
vector tangent = v@field1;
vector dir_to_target = normalize(target_pos - @P);
v@FinalVect = ?
Thanks for helping.
TangetntField_01.hip