Dave Culp wrote:
>>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.


Perhaps you could save the value sim/time/elapsed-sec when the submodel
is created and then subtract that from the current sim/time/elapsed-sec
whenever you wanted to know the age of that particular submodel. Then a
little nasal to create another prop that the scale animation is based on.

Josh

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

Reply via email to