I essentially wrote the following code, which spawns an object type twice, each time setting a new width. Oddly, only the second time the new width is set. The first spawn retains the width of the object type which was used to spawn the object.
EDIT: here is the result: https://dl.dropboxusercontent.com/u/102806407/cup.PNG
EDIT: I now spawn three objects, and set a different width for each, but only the last one gets a new width set.
EDIT: Using create object, instead of spawn makes it work:
I wonder why this is?
I'd like to generate "water bars" one ontop of another, to simulate the filling of a cup with water. Since the cup size changes as water is filled each 'spawned" water "bar" needs a new width.
any comments would be much appreciated,