The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Model Editor Help 1 submesh works, the other ignores its body
WALP Offline
Posting Freak

Posts: 1,221
Threads: 34
Joined: Aug 2012
Reputation: 45
#1
1 submesh works, the other ignores its body

I have created a fence gate, it has 2 submeshes.
Spoiler below!
[Image: MWIqU.jpg]
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.
Spoiler below!
[Image: 5V7qg.jpg]
the left image shows how the movement of the body is being ignored by the submesh(model-editor), and the right image shows how this causes the submesh to teleport to the center of the map(in-game)

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.
12-18-2012, 11:19 PM
Find


Messages In This Thread
1 submesh works, the other ignores its body - by WALP - 12-18-2012, 11:19 PM



Users browsing this thread: 1 Guest(s)