Mounted Objects
by Michael Vanderpool · in Torque Game Engine Advanced · 08/08/2008 (5:40 pm) · 1 replies
Just a quick question regarding mounted objects. Is it possible to scale or offset a mounted object in game or via code? By offeset I mean mounting the object a little bit in any direction from the original mount point.
Torque 3D Owner Robert Miller
Indie Game Company
datablock itemData(%object)
{
itemData = ("./scriptsAndAssets/data/whateverItemFile");
offset = 0 0 0; //this is where you put in your offset data
item.mountPoint(%obj,1);
};
Don't quote me on this and you have to use your own variables but something similar to this should work.