#5 Transforming the objects when render to the global transform of the layer.
#5 Added another layer in the scene of the sample script.