Game Development Community

Re: Mount Syntax

by Richard Van Stone · in Torque Game Engine · 08/26/2004 (3:34 pm) · 2 replies

I've searched the code and found tons of reference as to how to mountImage...but the objects I want to add are not images they're actual geometry models such as spoilers, wings, motors etc...what is the syntax to mount an Object? I know each shapebase has to have the slot it's suppossed to mount to but how do you define which mounts are what # and how to actually mount the pieces together once the player is loaded in game?

Richard

#1
08/26/2004 (3:53 pm)
%this.mountObject(%object, %node);

is the function you are needing. For a better understanding of what nodes do what, see some of my descriptions here....

http://www.garagegames.com/mg/forums/result.thread.php?qt=20978


if that doesn't fully answer your question, then ask with more detail and I'll try harder, lol.
#2
08/28/2004 (11:25 am)
In ShapeBase speak an image is a model. Don't ask me why. :P