Game Development Community

Node to node mounting

by James Terry · in Torque Game Engine · 01/03/2007 (11:13 am) · 5 replies

I know I saw a resource somewhere that lets you do this:

object1.mountObject(object2, 2, 5);

that would allow you to mount Object 2's mount5 to Object 1's mount 2

Anyone know where this resource was or a quick way to implement it?

Thanks

#1
01/03/2007 (11:29 am)
Nope.

in stock the object to be mounted needs a node named "mountpoint", the object you wish to mount to needs a node named "mount0" (and so on).
#2
01/03/2007 (11:31 am)
I want to take object2's mount2 and attach it to object1's mount5 instead of mountPoint, I know ShowTool does it, and I could swear I saw a resource that achieved the same effect
#3
01/03/2007 (4:52 pm)
I remember using this a while back. I'll help you look.
#4
01/03/2007 (5:08 pm)
This is the resource i remember using

Im not sure if it will do what you want, i only looked over it briefly.
#5
01/03/2007 (10:44 pm)
Hmm, that could lead in the right direction, i.e. help me modify ShapeBase's mountObject, but I could swear I have seen what I am looking for somewhere on this site, I just can't seem to find it again