-
offset on local y-axis of auto positioned and rotated object between two points
I am struggling with the following set up:
I have the usual set up, having one object (C) centered between two others (A+B), including being auto oriented. Now, I like to use a slider on C to control a y-offset on the virtual line between A and B. This would be easy, if A+B would stay on the same y value, because then the world axis would work fine. Now, when one object has a different y value, the virtual line gets tilted and the orthogonal line for the offset doesn’t match the world axis anymore… Changing the anchor on y does the job, respecting the local axis, but would not work with the next wish, to shift+connect a child to it.
My goal is to parent another object to C, after the y-offset is done. If you parent it first, it would be easy to use the anchor point afterwards. But when doing the offset first, the child gets positioned at the original position. Zeroing out the y-position of the child would achieve the desired result, but I would prefer, not to do these additional steps. ????
So my question is, is there an expression to add a y-offset to the position of the centered and rotated object via a slider, respecting it’s current local y-axis? So a child could always be shift-parented afterwards without any additional steps?
Thanks, Lars.
