Is there an Attacment issue? I don't think did it in 2010
I have notice this. I have this simple rail where something is attached. And then moved. No issues. BUT if at the end of travel you detach the guy is not at the end.
BUT if you don't auto detach but press a key then you dettach at the point.
So pad animation and rail attachment move.
I tried UACS vessel and another non UACS vessel and same issues.
I have notice this. I have this simple rail where something is attached. And then moved. No issues. BUT if at the end of travel you detach the guy is not at the end.
BUT if you don't auto detach but press a key then you dettach at the point.
RAIL = CreateAttachment(false, _V(50, 2, 0), _V(0, 1, 0), _V(0, 0, 1), "RAIL", false);
//MAST
if (RAIL_status >= DOOR_RAISING) {
double da = simdt * LIFT_SPEED;
if (RAIL_status == DOOR_RAISING) {
if (RAIL_proc > 0.0) RAIL_proc = max(0.0, RAIL_proc - da);
else RAIL_status = DOOR_UP;
}
else {
if (RAIL_proc < 1.0) RAIL_proc = min(1.0, RAIL_proc + da);
else RAIL_status = DOOR_DOWN;
}
SetAnimation(anim_RAIL, RAIL_proc);
}
SetAttachmentParams(RAIL, _V(50 - (100 * RAIL_proc), 2, 0), _V(0, 1, 0), _V(0, 0, 1));
if (RAIL_proc >= 1)DetachChild(RAIL, 0);
}
So pad animation and rail attachment move.
I tried UACS vessel and another non UACS vessel and same issues.