I have an object (pedestrian). It has an instance variable (scale) that starts off as 0.2, and increases by 0.001 every tick. Naturally, the objects literal scale is assigned to this variable during every tick.
When scale reaches 1.0, I want the object to be destroyed.
However, it's not getting destroyed. It just keeps growing. Does anybody know why? Thanks.