I have created a fence gate, it has 2 submeshes.
When I assign both of them to each their own body, one submesh will work fine, while the other will simply ignore the movements of the body its assigned to. When placing the fence gate in-game the submesh that is not assigned teleports to the center of the map while the body it should follow stays and works like it should.
I have tried a million things to fix it, without succeeding and I'm completely clueless now.
So I come here
begging for help
I have done the following to fix the issue:
1. tried re-exporting and moving the submeshes appart.
Moving the submeshes proves to have no effect at all.
Re-exporting will sometimes switch the roles of the 2 submeshes
so the one that previously worked is now broke and the broken one now works.
2. Made completely 800% sure that it was attached in the model editor as well as already having the same settings as the castle door entity
3. Used different textures for each submesh
(
and therefore also materials since HPL2 creates a new mat for every texture):
This has no effect
4. Changed Pivot/anchor point for the meshes
this only fucked up the locations of the submeshes.
5. tried creating a test model to test if the issue was just this
one object, or all objects I create. The issue was found on the test model as well.
6. Searched the forum OFC.
7. deleted map catche OFC. too.
I'm using blender 2.63 to export my models and I'm starting to think that the source might be the problem.
Though 2.64 is even worse for exporting(wont load).
I'm providing a download hoping those smarter then I will take a look.
If someone uses maya or 3dsmax, I'm curious as to whether or not it will work if its exported from one of those software, instead of blender(import dae. file and export it).
Again,
IM BEGGING FOR HELP
Note: To test if its working proberly open it in the model editor, make it a swingdoor. attach each submesh to their own body and make sure it has mass. Turn on "show physics debug info" and see if the submeshes follows their body like they should. If the body moves without the submesh the issue is still there.