I'm trying to scale one object proportionally to the other. Currently I have a flying ship, which has an energy bar on it. The bar is a separate object since it changes its height constantly but it is pinned to the ship so when the ship moves it goes along with it.
I've put some SINE behaviors on the ship so it looks more like it's flying. the horizontal and vertical sine are not a problem, but the SIZE one is. I cannot get the bar to scale the same way so it remains proportional to the ship.
I cannot access the ship's scale and as Ashley says in here, not all objects have the same scale which is pretty logical. I've tried accessing the SINE parameters of the ship and putting them on the bar's SINE behaviour but that didn't work out either since the same numbers (magnitude, period) apply differently on the object depending on its size. I'd try to make them the same manually but the problem is that the ship's sine has randoms in it.
So can anyone tell me how to achieve this effect? So that the ship and the bar on the ship scale in a way that will be proportional?