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.
About the author
Torque 3D Owner Martin "Founder" Hoover
%objectID.setDataBlock(DataBlockName);
To change a vehicle/player/etc dataBlock on the fly.