setScale problem

Started by freyzor, March 24, 2006, 11:21:45 AM

Previous topic - Next topic

freyzor

Hi,
i´m messing around with the car example and am trying to make the plants grow and shrink individually using setScale acording to a 'health' variable.  The problem is that all the plants sem to react to the first time ot is called and never again.

any suggestions?

EgonOlsen

Remove the call to enableLazyTransformations(); from Plant and it should work.

freyzor

ah.. great it worked. i found it in the constructor for PlantManager as well as in the place Plant routine.  

thanks for the quick reply