Game Development Community

Removing meshes...need help

by Bobby Leighton · in Torque 3D Professional · 05/11/2011 (3:21 pm) · 2 replies

I'm trying to use:

%this.removeMesh("Collision-1 -2");

It works with a .cs file that loads at the level start when it loads the object but it wont work from the console. Anyone know how I can make it work? Ill be looking for the answer in the meantime, just thought someone might already know.
thanks in advance! :O)

#1
05/11/2011 (4:13 pm)
Maybe u must assign a name to the object, and use:
OBJECTNAME.removeMesh("Collision-1 -2");
#2
05/16/2011 (2:33 pm)
Ill give that a try

thanks!