Game Development Community

Torque X 3D cloned templates bug?

by Danilo Buendia · in Torque X 3D · 06/19/2010 (10:18 pm) · 4 replies

This post was originally called "Creators Club version skinning bug, Torque X 3D fixed?"

I've recently started using the Creators Club version to see what it can do. It's pretty cool except I've found a bug were the any clones of a template with a skinned character makes the skinned NPCs do exactly the same thing.

www.cgiris.com/werewolfgame/WerewolfHallow_skinningError.JPG

After a few while I noticed that the eyes and teeth were doing what I expected it to do, which were parented instead of skinned. So I created a test version of the NPCs which are all parented instead of skinned and it worked as expected!

www.cgiris.com/werewolfgame/WerewolfHallow_parentingWorks.JPG

Does anyone know if this is fixed in the shipping version of TorqueX3D? Is this planned to be fixed in the next Creators Club version?

~Dano

#1
06/20/2010 (10:53 pm)
Ok, I've verified that this is a bug in the cloning of templates by using the latest Torquex3D dll from the latest demo of TorqueX 3D that I downloaded on June 20th, 2010.

The skinning of all resulting clones are using the first cloned instance's skinned animation and ignoring the what the bones are doing. If I use a model where the cloned character is all parented with no skinning, the animation systems works fine.

Can anyone else verify this bug?
#2
06/29/2010 (1:30 pm)
I got your response from YouTube and am answering here instead of there.

Unless you have purchased the Pro version with source code you are not going to like my answer. I had to make a change to the source code to get this to work. Doing that makes it so that the number of models at one time is lower than you would otherwise get.

The problem is that the Torque engine basically shares the same model in order to increase performance. That has the side affect of all the models using the same "skin" as you put it no matter what.

If you have the source shoot me an email and I will share my fix with you.
#3
06/30/2010 (8:12 pm)
Awesome, thanks, Tony!

I don't own it yet, but I'm looking at getting the funds together for it in a couple of weeks if not sooner. I'll message you then!

~Danilo
#4
08/08/2010 (11:40 pm)
Hi Tony,

Now that TorqueX 2D & 3D have become one product, I now have access to the 3D source.

I'll message you my email via youtube, if you don't mind sharing that code?

~Danilo