Game Development Community

Cloning/CopyTo and MaterialRegionIndex

by Christian Rousselle · in Torque X 2D · 09/30/2008 (2:26 am) · 2 replies

MaterialRegionIndex is not copied when an object of type T2DStaticSprite is cloned. It fails when MaterialRegionIndex is different from 0.

#1
09/30/2008 (6:24 pm)
I'll check the CopyTo() method for T2DStaticSprite - it sounds like the MaterialRegionIndex property is not being copied.

John K.
#2
10/01/2008 (9:21 am)
Yes, that is the case - sorry I did not make that clear.