Yes. Same result. It seems the dm docking values?
CreateDock(_V(-0.042, 0, 2.136), _V(0, 0, 1), _V(0, -1, 0)); MIR
CreateDock(_V(-0.006, 0.000, - 2.125), _V(0, 0, -1), _V(0.500011, -0.866019, 0)); Shuttle
If I dock with MIR docking port no issues.
void Atlantis::DoIDARing()
{
//sprintf(oapiDebugString(), "new_dock_pos.y %lf soft_capture_ring_proc %lf ", new_dock_pos.y, soft_capture_ring_proc);
if (TUNNELODS == 1) {
VECTOR3 new_dock_pos = _V(-0.042, 2.2250, 8.2264);;
new_dock_pos.y += (soft_capture_ring_proc * 0.4);//0.45
OBJHANDLE v = GetHandle();
int idx = 0; // dock index
OBJHANDLE docked_ship = GetDockStatus(GetDockHandle(0)); // object handle of docked vessel
if (docked_ship != NULL) // make sure handle is valid, if it is...
{
VESSEL* docked = oapiGetVesselInterface(docked_ship); // get VESSEL interface for docked vessel
int dcount = docked->DockCount(); // get number of docking ports
for (int i = 0; i < dcount; i++) // Cycle through ports
{
if (docked->GetDockStatus(docked->GetDockHandle(i)) == GetHandle())
{
idx = i;
docked->Undock(idx, 0);
SetDockParams(hDockODS2, new_dock_pos, _V(0, 1, 0), _V(0, 0, -1));
docked->Dock(v, idx, 0, 0);
}
}
}
else {
SetDockParams(hDockODS2, new_dock_pos, _V(0, 1, 0), _V(0, 0, -1));
}
}
}
When the scn starts I can kill the angular rotation of the shuttle but then it starts back up