Game Development Community

Mounting objects - best practice

by Ryan Mick · in Torque Game Engine · 12/06/2004 (6:05 am) · 4 replies

I know I have seen something about this in the formus a while ago but for the life of me I can't find it anymore. What I need to know is, what is the best way to mount an object to another object in a game. For example if I wanted to mount flags to a post whenever x number of laps were completed. Any and all help would be appreciated.

#1
12/06/2004 (6:25 am)
%objectToMountTo.mountObject(%mountPoint, %ObjectToMount);
#2
01/03/2005 (9:05 pm)
Isn't it:
%objectToMountTo.mountObject(%ObjectToMount,%mountPoint); ?
#3
01/03/2005 (9:44 pm)
Check the usage?
#4
01/05/2005 (9:34 am)
It is:
%objectToMountTo.mountObject(%ObjectToMount,%mountPoint);


ConsoleMethod( ShapeBase, mountObject, bool, 4, 4, "( ShapeBase object, int slot ) Mount ourselves on an object in the specified slot.")