Problem Undocking Inertia Causes Interpenetration

joertexas

New member
Joined
Mar 6, 2011
Messages
43
Reaction score
0
Points
0
When these vehicles undock, they interpenetrate instead of moving away, and I can't figure out how to fix it.

Parent vehicle dock list:

BEGIN_DOCKLIST
0 0 -4.046 0 0 1 0 1 0 588 ; aft attach point for booster 0 in cfg 1 in sim
0 0 5.29 0 0 -1 0 1 0 588 ; visiting vehicle docking port 1 in cfg 2 in sim
-.05 2.002 .471 0 -1 0 0 0 1 588 ; Top Tank Port 2 in cfg 3 in sim
.093 -2 .471 0 1 0 0 0 -1 588 ; bottom tank port 3 in cfg 4 in sim
-1.97 .1 .364 1 0 0 0 1 0 588 ; Left side tank port 4 in cfg 5 in sim
2.013 -.096 .471 -1 0 0 0 1 0 588 ; Right side tank port 5 in cfg 6 in sim
END_DOCKLIST

DOCKINFO 0:0,2NDSTAGE_DOCK 2:0,RCS_DOCK

Child Vehicle dock list:

BEGIN_DOCKLIST
0 0 -.5 0 0 1 0 1 0 588
0 0 .5 0 0 1 0 1 0 588
END_DOCKLIST

DOCKINFO 0:2,FUELDEPOT_DOCK

The RCS (Child) shows up on the correct port, but it doesn't move away from the parent when it undocks.

Help?
 
Child Vehicle dock list:

BEGIN_DOCKLIST
0 0 -.5 0 0 1 0 1 0 588
0 0 .5 0 0 1 0 1 0 588
END_DOCKLIST
I suspect that one of these has an incorrect normal vector. I suspect the second one should be 0 0 -1, as otherwise they're both pointing in the same direction.
 
I suspect that one of these has an incorrect normal vector. I suspect the second one should be 0 0 -1, as otherwise they're both pointing in the same direction.

I'm looking at the docks in Mesh Wizard - how should they be aligned? I see that the rotation vector is pointed to Y+ on the mesh, and that the normal vectors both point to Z+.
 
I suspect that one of these has an incorrect normal vector.

Then they should dock the wrong way around to be begin with. That they're docked correctly but have incorrect force vectors on undocking seems really strange. But there's nothing to say about it without access to the mesh (images won't do I'm afraid... it might have something to do with the alignement of the mesh itself, which wouldn't be apparent from mere screenshots).
 
I'm looking at the docks in Mesh Wizard - how should they be aligned? I see that the rotation vector is pointed to Y+ on the mesh, and that the normal vectors both point to Z+.
So the intent is that you have two docks in a line with each other and both are pointing the same way?

Pictures might help.
 
So the intent is that you have two docks in a line with each other and both are pointing the same way?

Pictures might help.

Picture a vehicle shaped like a short stack of poker chips. The docks are at the top and bottom of the stack.

You were right about the normal vectors. Using Mesh Wizard, I could see that they were all pointing inboard. I changed them all to point outboard, and now they work fine :tiphat:
 
Back
Top