Game Development Community

Model crashes when set as player but fine as imported model.

by NiN-NiN · in Torque 3D Beginner · 07/16/2013 (8:57 pm) · 2 replies

Hi Guys

I have a really weird one here

I have been playing around with the hydra rydra demo and wanted to try seeing a model hold the guns and had someone else add the skeleton/bones to a model but each time it is set as the player file it crashes.

The weird thing is it imports fine as a object in it's T pose no problems into the world it's only when it's set as the player model.

I did get a model I had to work (Doesn't have the correct bone structure but it showed up as the model) and i got someone to import and export the same model to dae again using Autodesk and also the openCOLLADA plugin and it still failed.

can anyone share any light on this situation?

This is the DAE that crashes torque
https://mega.co.nz/#!VsgzzTQR!aw3-SARX26ISxtNcGPSteT-J7FZFcWmRP-I_IFewvIo


#1
07/16/2013 (11:06 pm)
Hi Nin-Nin, when I try to download your file I get the message:
"The file you are trying to download is no longer available"

Perhaps it would be good to also post the script your are using like
TSShapeConstructor and ...::onLoad for that mesh.
And the datablock you're using for that player if it isn't the default one.

I think that the animations you load really need to match with the bone structure,
but I'm not sure. Need to do more testing my self.

Also check the amount of polys (or faces). I experimented with highly detailed meshes and had lots off issues.
There's some limit to the amount polys in one single mesh in T3D.

I only use openCollada for T3D, never got any Autodesk file to work properly.
#2
07/17/2013 (12:06 am)
Sorry about that i've just uploaded it again.
https://mega.co.nz/#!wJIDmDbL!XJnuemmHD0DsQQVnt0eqaieisWsiAyOj9yXEpqvwjLI


I was just changing the model in the Hydra Ryder demo that David produced to show the Razer Hydra working and I didn't seem to have any issues with it besides this model someone rejigged for me.

I can get the script if needed and datablock

There aren't any animations in the file and bone structure matches but i've been able to load a model that doesn't match any of the bones as well.

The polys are all good too it seems to be some weird export issue with the open collanda and autodesk too I even imported the model to torque and then used the resulting DTS that was created and that crashed it as well.