> Can you be a bit more specific?  What do you mean by "apply an offset equal
> to -1 times the starting value"?  What is it exactly that you want to do?

I want to animate an object, using the scale animation.  Say I have a bit of 
contrail which appears behind the user aircraft.  I want that contrail model 
to grow to about 2 or 3 times its starting size within 8 seconds.  I also 
want it to fade to transparent within 8 seconds, but that's another issue.  
To do this I need a property that counts to 8 seconds.

The only property I know of that does anything like this is 
"sim/time/elapsed-sec", but its value will be unknown at the time the 
contrail bit is created, so I can't use this raw value for the animation.   
Let's say that when a particular bit of contrail is created the elapsed time 
is 1528.35.  If I could apply an offset of -1528.35 to this number, then I 
would have the elapsed time since the model was created, and I could use it 
for my animation because I'm now starting from a known value (zero).

Dave

_______________________________________________
Flightgear-users mailing list
[email protected]
http://mail.flightgear.org/mailman/listinfo/flightgear-users
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to