Mud-H Posted September 7, 2015 Share Posted September 7, 2015 I have an issue with one of my models which cause the game to crash when I set it as a WeaponImage model. I have run it in debug and it crash during: void ColladaAppMesh::getPrimitives(const domGeometry* geometry). // Collada uses CCW for front face and Torque uses the opposite, so // for normal (non-inverted) meshes, the indices are flipped. if (appNode->invertMeshes) dstIndex[v] = itr->value; else dstIndex[2 - v] = itr->value; <---Crash on that After some test I found that it's specific to that model. I guess there's something wrong with it but I can't figure what. I tried to invert the normal but not sure if it's what the invertMeshes check is about. I haven't tried but I guess standard models have the appNode->invertMeshes to true?For now I have simply decided to use another model but I'd like to find how to fix it, Anyone have an idea about what is happening? Quote Link to comment Share on other sites More sharing options...
Mud-H Posted September 7, 2015 Author Share Posted September 7, 2015 Well, I managed to fix my model by importing back the exported Collada model into 3ds max. Should have tought about it since the model was working fine as a standard model, even worked as a PlayerData model. I'm wondering why this crash only happen for WeaponImage models... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.