Or just Self.SetTotalScale(Self.GetParent().Get("SCL"));
Assuming that the tag is a vector.
On 08/08/06, Timo Mikkolainen <[EMAIL PROTECTED]> wrote:
Try
Self.SetTotalScale(new
r3Vect(Self.GetParent().Get("SCL").x,Self.GetParent().Get("SCL").y,
Self.GetParent().Get("SCL").z));
Copy&Paste might fail as I didn't test it, but I'm sure you get the idea.
On 08/08/06, Matthias Kappenberg <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> my next "little" problem:
>
> http://the-dimension.com/pulsing-via-tag.zip
>
> the render time (preprocessing time) is
> growing up from frame to frame, while rendering this
> testscene. Is there a command to flush the memory or something
> else like this?
>
> This is the poor script for the "Use parent level Tag"
> The parent level has a Tag "SCL"
>
> daddy=Self.GetParent();
> scaler=daddy.Get("SCL");
> xa=scaler.x;
> xb=scaler.y;
> xc=scaler.z;
> Self.SetTotalScale(new r3Vect(xa,xb,xc));
>
>
> Matthias
>