How to mount objectA to object B when they collide.
by johnson518 · in Torque Game Engine · 08/23/2009 (1:35 pm) · 2 replies
I am troubled by the object mounting problem. I have tried mountObject(%obj, index), mount(%srcObj, %offsetX,%offsetY, ........), but still does not work. I have object A, and Object B, what I want to do is to mount A to B when A collide with B. Sincerely hope some one could give advice. or sample for object mounting.
Best Thanks.
Best Thanks.
Associate Michael Hall
Distracted...
WeaponImage to Player (Image to Object mounting)
%obj.mountImage(%data.image, $WeaponSlot);
Player to Vehicle (Object to Object mounting)
%col.mountObject(%obj, %node);
Everything else follows those examples.