Game Development Community

Cloning Template objects not working?

by Matt Ahrens · in Torque X 2D · 01/24/2010 (6:44 pm) · 0 replies

When I instaled the lasted version of TX2D it seems like none of my objects that are marked template clone properly, when i uncheck the template button, it works fine. Any ideas?

By cloning i mean using code:
2DStaticSprite projectile = Projectile.Clone() as T2DStaticSprite;

i had first tried it with particle effects, and that it was just that, but my projectiles where acting the same way. How ever using the clone object, works just find, i have a few dozen monster all cloned from the same template using the clone object and it works fine.