I have run across an issue. I have a landing pad that is about 45 degress. I normalized the attachment point which gives me:
LP1 = CreateAttachment (false, _V(-303.776,12.029,517.3211),_V(0,1,0),_V(.7,0,.7),"1",true);
that is good. but I want to lower the pad and attached vessel. I have to adjust the y value. but the ship shakes.
LP1_pos.x = -303.776;
LP1_pos.y = 12.029;
LP1_pos.z = 517.3211;
{LP1_pos.y=LP1_INT_POS-(LP1_proc*BAYFACTOR);
SetAttachmentParams(LP1,LP1_pos,_V(0,1,0),_V(.7,0,.7));
}
Any ideas?
EDIT:
After reading the SDK I think they have to at right angles. The pad attachment point was a angle that is not at a right angle to the ship.
LP1 = CreateAttachment (false, _V(-303.776,12.029,517.3211),_V(0,1,0),_V(.7,0,.7),"1",true);
that is good. but I want to lower the pad and attached vessel. I have to adjust the y value. but the ship shakes.
LP1_pos.x = -303.776;
LP1_pos.y = 12.029;
LP1_pos.z = 517.3211;
{LP1_pos.y=LP1_INT_POS-(LP1_proc*BAYFACTOR);
SetAttachmentParams(LP1,LP1_pos,_V(0,1,0),_V(.7,0,.7));
}
Any ideas?
EDIT:
After reading the SDK I think they have to at right angles. The pad attachment point was a angle that is not at a right angle to the ship.
Last edited: