Hi! I’ve spent like an hour trying to figure this out. So I have 1 part A, and I want to know it’s y position relative to the other part B but that number should be between 0 and 1. If the part A is at the bottom of the part B (again, only height matters, so the Y axis), I want to get the number 1. If its at the top, I want to the get the number 0. If it’s in the middle, I want the number 0.5. You get what I mean. Could somene explain to me, maybe even give a formula, how I can solve this issue?
Image of what I want to achieve, the blue part being the one that’s moved.