Game Development Community

Can t2dShape3D mount dts shapes?

by Tom Spilman · in Torque Game Builder · 06/06/2006 (2:32 am) · 5 replies

I'm needing to load a DTS and mount the characters weapon. Can i do that with t2dShape3D in TGB? I can't seem to find the way to accomplish this. Thanks!

About the author

Tom is a programmer and co-owner of Sickhead Games, LLC.


#1
06/06/2006 (1:30 pm)
I have also been wondering if the dozen or so standard DTS mount point names are accessable and if a sprite can mount to a 3d shape, or if a 3d shape can be mounted to a 3d hape.

I have a hunch, or maybe I read a post from Melv, that Like 3d lighting this is one of those wish list things.
#2
06/06/2006 (1:35 pm)
Yea... seems like it. I moved my little project to TSE anyway... seems like a better place for it. :)
#3
10/15/2006 (9:45 pm)
Anyone come to a conclusion about this? I am racking my brain on how to get a dts object mounted on another dts object as you have described.
#4
10/16/2006 (5:26 am)
I think object and image mounting is handled by the "ShapeBase" class in TGE which isn't a part of the engine in TGB. I'd imagine to get mount functionality for TGB's dts usage you'd need to extend "t2dShape3d" to support similar functionality as that provided by the ShapeBase mountObject or mountImage code. mountImage might be the more useful of the two to port over.

That said I've only had a quick glance this morning over the TGB engine so I could have missed a reimplementation of the mount code.
#5
10/16/2006 (11:56 am)
Thanks for the quick reply Gary. I may go this route but I had another idea which I am going to try. In case you are currious I am planning to model my character and make a simple animation that I will run in TGE. Then I will use the same skeleton to build a seperate model of a "helmet". Uing the same animation sequence (.dsq) I will run both my player and the helmet which I will put an a layer above my character. Hopefully this will synch up and I will be wearing a helmet. If this works I should be able to do this with all the items I might need to wear.
Does this sound feasable to you?