L
Latch
Guest
I'm dropping an item from the sky and trying to draw the shadow at the point where it will land, as the object gets closer I want the shadow to grow but I cant get my head around the math.
I have a dropx and a dropy that are the X/y coords of where the item will land, this is where the shadow starts, I then scale the shadow to 0.1 and plan to increase it to its default size (1) when the item lands. As the object gets closer to the mark it should increase in size but, as the distance is shrinking and i want the scale to grow I just don't know what kind of formula/function I'm looking for here. Anyone have experience with this that can help?
I have a dropx and a dropy that are the X/y coords of where the item will land, this is where the shadow starts, I then scale the shadow to 0.1 and plan to increase it to its default size (1) when the item lands. As the object gets closer to the mark it should increase in size but, as the distance is shrinking and i want the scale to grow I just don't know what kind of formula/function I'm looking for here. Anyone have experience with this that can help?