-
How do you change size of one object gradually relative to position of another?
Hi guys.
I wonder if you could help me with a puzzle. I think this can only be done with scripting, but I could be wrong. I’m quite new to scripting, so the solution might be pretty simple.It goes something like this:
If Object A has Y coordinate 600, the scale Object B to 20.
If Object A has Y coordinate 300, then scale Object B to 100.An if/else script might work, but now here’s the bit I can’t figure out:
If Object A’s Y coordinates are BETWEEN 300 and 600, then scale Object B BETWEEN 20 and 100.
Any ideas would be appreciated 🙂