Game Development Community

Scaling the player character

by ChrisG · in Torque 3D Professional · 10/13/2010 (10:10 am) · 2 replies

I've replaced our modern soldier guy with one of the MACK pack characters and he's nearly twice as big.
Is there anyway to rescale the player character using TorqueScript?

#1
10/13/2010 (10:59 am)
in the onAdd function of your new characters datablock.cs file add

// Player model scaling
%obj.setScale("1 1 1");
#2
10/13/2010 (9:48 pm)
Thanks, that was too easy.