Game Development Community

Changing shapes

by Tim Hutcheson · in Torque Game Engine · 12/19/2005 (8:19 am) · 1 replies

I have several shapes (named datablocks) for the same vehicle in my mission file that I can select based for each client logging in to the game. But suppose I want to switch the client's shape on the fly to one of the others? Can anyone provide a quick headsup on how this is done, either in script of C++? thanks.

#1
02/10/2006 (7:40 pm)
You can use:

%objectID.setDataBlock(DataBlockName);

To change a vehicle/player/etc dataBlock on the fly.