Game Development Community

CloneWithBehaviors()

by Eric Krasnauskas · in Torque Game Builder · 12/17/2008 (2:43 pm) · 2 replies

I'm using cloneWithBehaviors() to duplicate game objects. It works fine except in the console I get the message " t2dSceneGraph::addToScene() - object 'xxx' is already in a SceneGraph!" I know for sure the new object isn't already in the SceneGraph.

This wouldn't be a big deal except I'm cloning hundreds of objects and these messages have taken over my console.