Author Topic: setScale problem  (Read 3181 times)

Offline freyzor

  • byte
  • *
  • Posts: 3
    • View Profile
setScale problem
« on: March 24, 2006, 11:21:45 am »
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?

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
setScale problem
« Reply #1 on: March 24, 2006, 11:39:13 am »
Remove the call to enableLazyTransformations(); from Plant and it should work.

Offline freyzor

  • byte
  • *
  • Posts: 3
    • View Profile
setScale problem
« Reply #2 on: March 24, 2006, 12:45:19 pm »
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