scaling a mounted item
by Martin Banks · in Torque 3D Professional · 09/03/2009 (11:21 am) · 2 replies
I have mounted an item as a weapon and wish to scale it after it has been mounted. I tried to use getMountedImage(slot), and then get the Item member from the resulting shapebaseimage returned. I then proceed to try and call the setScale method as follows:
Apparently, there is no scaling methods directly linked to either the ShapeBaseImage or the Item classes. Is there a way to scale mounted items post-mount?
%this.player.mountImage(MyImage, 0);
%item = %this.player.getmountedImage(0);
%item.item.setScale("1 1 1"); Apparently, there is no scaling methods directly linked to either the ShapeBaseImage or the Item classes. Is there a way to scale mounted items post-mount?
About the author
Associate Michael Hall
Distracted...